Last Updated: February 25, 2016
·
578
· sydcanem

2 git configs you should know about

Avoid the headache of changing filename capitalization that git won't recognize when commited.

git config --unset-all core.ignorecase && git config --system core.ignorecase false

Avoid those annoying empty file commits when changing file permissions ( chmod ).

git config --unset-all core.fileMode && git config --system core.fileMode false