How can I configure via git-config the unified context so that I don't have to always provide the -U or --unified option with a value?

有帮助吗?

解决方案

git config --global diff.context <value>

will set it to show <value> lines of context in any repo you work with.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top