Changing case of Folder via Git bash on Windows

前端 未结 4 1919
迷失自我
迷失自我 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条回答
  •  Happy的楠姐
    2021-02-01 03:44

    I could not resolve this apart from performing the following

    1. Branch from commit before folder name case changed, as a temp branch just to resolve this issue.
    2. Cherry picking commits in order resolving folder case name changes before committing.
    3. Reset old branch this new temp branch final commit.
    4. Remove temp branch.

提交回复
热议问题