git fails to detect renaming

前端 未结 6 1857
清酒与你
清酒与你 2020-12-02 16:21

One branch (refactoringBranch) had a complete directory restructure. Files were moved chaosly, but the content was preserved.

I tried to merge: gi

6条回答
  •  一向
    一向 (楼主)
    2020-12-02 17:07

    OS X is case-aware, but not sensitive. Git ​is​ case-sensitive. If you changed a file name and the only change was a case change, rename the file back to the way it was, then use git mv to rename instead.

提交回复
热议问题