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!

Enroll Now

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
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x