Changing capitalization of filenames in Git

前端 未结 9 1800
孤独总比滥情好
孤独总比滥情好 2020-11-22 14:02

I am trying to rename a file to have different capitalization from what it had before:

git mv src/collision/b2AABB.js src/collision/B2AABB.js
fatal: destinat         


        
9条回答
  •  暖寄归人
    2020-11-22 14:15

    You can open the ".git" directory and then edit the "config" file. Under "[core]" set, set "ignorecase = true" and you are done ;)

提交回复
热议问题