首先要把首字母大寫的目錄備份,關閉大小寫敏感:git config core.ignorecase false。
1、刪除首字母小寫的目錄
運行命令:git rm Source\MSAP.WebSite\jsx\src\common -r
2、提交至遠程
git add . —— git commit -m ‘備註’ —— git push
3、把備份的文件複製到項目目錄
4、提交至遠程。
5、搞定
首先要把首字母大寫的目錄備份,關閉大小寫敏感:git config core.ignorecase false。
1、刪除首字母小寫的目錄
運行命令:git rm Source\MSAP.WebSite\jsx\src\common -r
2、提交至遠程
git add . —— git commit -m ‘備註’ —— git push
3、把備份的文件複製到項目目錄
4、提交至遠程。
5、搞定