除了我的文件名CompleteController.cs
c用大写字母表示之外,所有更改都被完美地推送了,但是在我的git repo中它CompleteController.cs
用小写字母显示了c。
您可能在Windows上,因此文件系统不区分大小写。因此,您不能相信在文件系统上看到的情况。
要修复它,您可以尝试
git mv -f <name-on-your-filesystem> <name_with_the_correct_case>
因此,如果我了解清楚,应该是
git mv -f COMPLETECONTROLLER.cs CompleteController.cs
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句