Changing case of Folder via Git bash on Windows

前端 未结 4 1867
迷失自我
迷失自我 2021-02-01 02:54

I need to change the case of folders and files. First thing I tried was renaming the folders, but Git didn\'t pick up the changes. So I tried using git mv -f co

4条回答
  •  隐瞒了意图╮
    2021-02-01 03:36

    Make sure to add the changes to index after rename folder with intermediate folder as below.

    git mv oldfolder newfolder
    
    git add -u newfolder
    
    git commit -m "changed the foldername whaddup"
    

    Reference

提交回复
热议问题