我希望每次运行
git diff
或git show
时都会自动地添加--ignore-all-space
,但不会有任何提示。有没有办法实现这个功能?我知道可以创建别名来做到这一点:[alias]
sh = show --ignore-all-space
di = diff --ignore-all-space
但我想直接使用diff
和show
命令。