Linked Questions
76 questions linked to/from How do I commit case-sensitive only filename changes in Git?
4
votes
1
answer
4k
views
case sensitivity issue - rename a folder in git [duplicate]
I have a folder called Utils.
After checking it in to remote I see it appears as utils which fails the build.
I tried to follow renaming methods (maybe I'm doing it wrong) but I'm not able to change ...
2
votes
1
answer
3k
views
How to make git track file/folder name case changes? [duplicate]
So here's the issue :
I use git for a repo in windows. Renamed some assets folder and files to lowercase but git didn't track the changes. Resulting in an inconsistent repo in other devices.
How to ...
1
vote
0
answers
1k
views
GIT Change File extension [duplicate]
I am working on a post receive hook to stop commits if the file extension doesn't respect the naming convention (extension need to be in upperCase/ and necessarily .PSK or .PBK), the problem I am ...
1
vote
0
answers
447
views
Duplicated files for capitalized folders in Xcode [duplicate]
Some time ago I decided to rename my project and use a capital letter (Remoti instead of remoti). Then, I started having lots of changed files such as in the image:
In the image you can see there are ...
4
votes
1
answer
338
views
Git seeing imaginary files (case sensitivity) [duplicate]
I have two files that have been renamed from lowercase to uppercase and the most frustrating and out-of-left-field crazy thing happened. Git now sees TWO COPIES, one with the upper case name and one ...
0
votes
0
answers
360
views
How to make Git notice the filenames' capitalization changes for the commit? [duplicate]
I changed all filenames in a folder to lowercase (in Windows CDM as here explained):
$ D:\
$ cd my\folder
$ for /f "Tokens=*" %f in ('dir /l/b/a-d') do (rename "%f" "%f")
Now I expected git status to ...
1
vote
2
answers
159
views
Renaming a file in Git [duplicate]
I have a file in Git called 100_Test_Customer_Team_abc.txt which has been pushed to the remote repository. I made a mistake in the name - the team is supposed to be in capital letters, so I want to ...
0
votes
2
answers
160
views
Git: file name reverted to legacy name after each clone [duplicate]
I used to have file named ViewMVC.java that contained declaration of ViewMVC class.
Later, I decided to rename the class to ViewMvc. As a result, file's name changed to ViewMvc.java. I pushed this ...
1
vote
0
answers
183
views
Uppercase and Lowercase Difference in Git Markdown [duplicate]
Having:
In ReadMe.md:
1. Visual Studio > File > New Project >

And in /pics a file named like this (to which I have not paid enough attention):
pic001.PNG
...
0
votes
0
answers
81
views
git does not recognize renamed file with only a change in case [duplicate]
So today I encountered something really funny with git.
I had a file called emoController.php in my git repository.
I then renamed it to EmoController.php Only change was the case
I hit git status ...
1
vote
0
answers
51
views
git move folder only by case sensitive name change [duplicate]
I have a folder in git (on FS) called
fooBar
however, in git it is registered twice:
foobar and fooBar
so a How do I commit case-sensitive only filename changes in Git?
git mv -f foobar fooBar
...
1084
votes
14
answers
762k
views
In a Git repository, how to properly rename a directory?
I think it should work to copy the directory to be renamed to a new directory with desired name, and delete the old directory, and git add, git commit and push everything. But is this the best way?
760
votes
13
answers
353k
views
How do you change the capitalization of filenames in Git?
I am trying to rename a file to have different capitalization from what it had before:
git mv src/collision/b2AABB.js src/collision/B2AABB.js
fatal: destination exists, source=src/collision/b2AABB.js, ...
321
votes
36
answers
344k
views
'File name differs from already included file name only in casing' on relative path with same casing
Error TS1149: File name 'C:/Project/frontend/scripts/State.ts' differs from already included file name '../frontend/scripts/State.ts' only in casing.
I've triple checked the casing in our references ...
168
votes
40
answers
187k
views
Webpack: "there are multiple modules with names that only differ in casing" but modules referenced are identical
I'm using webpack 3.8.1 and am receiving several instances of the following build warning:
WARNING in ./src/Components/NavBar/MainMenuItemMobile.js
There are multiple modules with names that only ...