I have seen this question on how to make git ignore changes in case by using one of the following two commands:
git config core.ignorecase true
git config --global core.ignorecase true
The first one being for the local repository only, the latter to change it globally.
I was wondering if there is a way to make git ignore such changes in case within files, e.g. ignoring if
changed to IF
.