Git unconsciously created submodule from my subfolder where there was.git lately. I deleted.git and there's no git files like.gitignore but still can't add files to this subfolder. It looks like this
And inside io-invoices (submodule) I've got
I've checked hidden files.
You probably need to remove that directory from the Git tree and re-add it later. Backup everything before!
git rm --cached ./io-invoices
git add ./io-invoices
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.