简体   繁体   中英

How to configure unified diff context via git-config?

如何通过git-config配置统一上下文,以便不必总是为-U或--unified选项提供值?

git config --global diff.context <value>

会将其设置为在您使用的任何存储库中显示上下文的<value>行。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM