How to perform case insensitive diff in Git
问题 git diff does not support a case-insensitive comparison of files. Google shows a very few people asking for that feature, and that too only in combination with some other git diff switch, like with -G or with --color-words . I don't care for other switches, as long as git diff can show me the case-insensitive diff. Since I didn't see any specific question towards that, and since I found a solution after an hour researching this problem, I am adding this question and the answer. 回答1: The