Changing capitalization of filenames in Git

前端 未结 9 1766
孤独总比滥情好
孤独总比滥情好 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:10

    Considering larsks' answer, you can get it working with a single command with "--force":

     git mv --force myfile MyFile
    

提交回复
热议问题