Frage

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?

War es hilfreich?

Lösung

git config --global diff.context <value>

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top