I've currently facing a rather odd issue, git is not looking for case changes on my files.
I had app.module.ts
and outside.dto.ts
and I've changed them to App.module.ts
and Outside.dto.ts
.
I'm not sure wether git is not picking those changes or if that's a very specific issue with my repository, but my repository is still with the lowercase filename even tough I've commited multiple times with the different filename casing.
Pretty sure it doesn't make a difference, but since I've never seen this happen on GitHub, I think it won't hurt to mention I'm using Azure Repo.
readme.txt
opens theREADME.txt
file, Git is correct to ignore file-name-case changes because they're not relevant. You can temporarily turn offcore.ignorecase
to make Git believe they are relevant, but be sure to turn it back on again later, otherwise Git will believe that your OS is suddenly capable of storing two different files that differ only in case. – NosegayThe tree object ... was rejected: The file 'app.module.ts' and the file 'App.module.ts' pushed differ in case. You must remove or rename one of them or disable case-enforcement (see https://aka.ms/git-platform-compat). error: remote unpack failed: error
Any way to solve this? :/ – Necrophobiaapp.module.ts
andApp.module.ts
. Clone onto a Linux system, find the commit, and remove the commit with a repository surgery program like filter-repo. – Nosegay