不是解决方案,会对你有所帮助。
git diff --no-ext-diff --ignore-space-change -- <path> ->您只能在git bash中查看代码更改。
git diff --no-ext-diff --ignore-space-change -- <path>