在Windows上更改文件的大小写? [英] Change case of a file on Windows?

查看:263
本文介绍了在Windows上更改文件的大小写?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们想要重新命名git控制的代码库中有几个文件。具体来说,我只是想改变文件的大小写,以使 sourceCode.java 变成 SourceCode.java ,for例。问题:我在一个Windows机器上,文件系统认为它们是相同的文件名。



如何让Windows和Git识别这个更改并检查它在?

解决方案

查看更多提示,了解如何执行此操作:

如何让git忽略大小写变化?

或者:

  git mv -f name。 java Name.java 


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 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.

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:

git mv -f name.java Name.java

这篇关于在Windows上更改文件的大小写?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆