fatal: will not add file alias ‘Test-Plan/readme.md’ (‘Test-plan/readme.md’ already exists in index)
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
Error
Solution
- Change the capitalization of the “file” name and add “1” to the end (or another symbol) Stage (without commit) = result “File1” – renaming files***
- Remove “1” from the end Stage (without commit) = result “File” – renaming files (only capitalization now)
- Now Do commit.
After that type this command
$ git config --local core.ignorecase false