git设置大小写敏感问题
漂亮男人
漂亮男人 2017-05-02 09:32:47
0
1
731

之前提交的文件夹名是小写,后来改成大写再提交,github上面出来大写和小写两份。如图:

本地只有变成大写的三个文件夹,请教,这个问题是设置git大小写敏感引起的吗?如何在github上删掉小写开头的三个文件夹。本地没这小写的三个。

漂亮男人
漂亮男人

reply all(1)
大家讲道理

It is best not to distinguish between upper and lower case for directories and files. Windows does not recognize upper and lower case, but Linux does. If git encounters this kind of problem, it can only be based on the current system, so it is best to avoid changing the size. Write about this kind of thing. If you want to overwrite things on github, it's very simple, git push origin master -f (-f is a forced push)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!