3 ms·
Is there a way to make the filenames in a 'git diff' stand out/coloured? I always have trouble figuring out where one file's diff ends and the next one begins.
by keporahg 14y ago
Is there a way to make the filenames in a 'git diff' stand out/coloured? I always have trouble figuring out where one file's diff ends and the next one begins.
- AncientPC 14y agogit diff --color Or modify ~.gitconfig: [color] diff = auto [color "diff"] meta = yellow bold frag = magenta bold old = red bold new = green bold
- gemma 14y agoMy favorite: git diff --color-words=.
- keporahg 14y agoWhat's the difference between 'git diff --color-words' and what you posted?