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.
CodePudding user response:
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.
CodePudding user response:
If there is a permission issue, resolving that first could be a good first step.