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

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

问题描述

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

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.

如何让 Windows 和 Git 识别并签入该更改?

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:

如何让 git 忽略更改以防万一?

或者:

git mv -f name.java Name.java

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

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