How do I commit case-sensitive only filename changes in Git?

前端 未结 16 2480
我在风中等你
我在风中等你 2020-11-22 03:31

I have changed a few files name by de-capitalize the first letter, as in Name.jpg to name.jpg. Git does not recognize this changes and I had to de

16条回答
  •  轮回少年
    2020-11-22 04:14

    We can use git mv command. Example below , if we renamed file abcDEF.js to abcdef.js then we can run the following command from terminal

    git mv -f .\abcDEF.js  .\abcdef.js
    

提交回复
热议问题