Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.
X

Git ignore file name change

I don't really think this worth bloging anyway but I would like to have it noted. I renamed a file and git was not tracking it. It shows nothing new to commit while my file name has changed from a small letter to capital. I guessed my file case must have been ignored.

If you have this same challenge, below is what saved me:

git config core.ignorecase false

Go to your terminal and type that. Git has a configuration setting that tells it whether to be case sensitive or insensitive: core.ignorecase. To tell Git to be case-senstive, simply set this setting to false.

Hope this saved someone from trouble.


comments powered by Disqus