在Windows上更改文件的大小写? [英] Change case of a file on Windows?
问题描述
我们想要重新命名git控制的代码库中有几个文件。具体来说,我只是想改变文件的大小写,以使 sourceCode.java
变成 SourceCode.java
,for例。问题:我在一个Windows机器上,文件系统认为它们是相同的文件名。
如何让Windows和Git识别这个更改并检查它在?
查看更多提示,了解如何执行此操作:
如何让git忽略大小写变化? 或者: There are a couple of files in our git-controlled codebase that I'd like to rename. Specifically, I just want to change the case of the file, so that How can I get Windows and Git to recognize that change and check it in? Have a look here for more hints on how to do it: How to make git ignore changes in case? Or:
这篇关于在Windows上更改文件的大小写?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
git mv -f name。 java Name.java
sourceCode.java
becomes SourceCode.java
, for example. The catch: I'm on a Windows box, and the filesystem thinks those are the same file name.git mv -f name.java Name.java