I have more that one file. When I want to add all the files I type git add -A
but after pressing enter it start showing warning and at last it shows
fatal: adding files failed.
I don't know how to solve this error or problem.
Would be useful to know your git version ( git --version
). Also how many files are in there? What's the current status ( git status
)?
Also see how to debug git .
If there is a permission issue, resolving that first could be a good first step.
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.