fatal: will not add file alias ‘Test-Plan/readme.md’ (‘Test-plan/readme.md’ already exists in index)

Error

Solution

  1. Change the capitalization of the “file” name and add “1” to the end (or another symbol) Stage (without commit) = result “File1” – renaming files***
  2. Remove “1” from the end Stage (without commit) = result “File” – renaming files (only capitalization now)
  3. Now Do commit.

After that type this command

$ git config --local core.ignorecase false 
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x