Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git's not detecting file name casing change

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.

like image 840
Lucas Avatar asked Jan 22 '26 01:01

Lucas


1 Answers

Try setting ignorecase to false in your git config. I just had the same issue and it worked for me

git config core.ignorecase false

like image 123
Andrea Avatar answered Jan 23 '26 15:01

Andrea



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!