KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am unable to configure git to follow my requests: use vim as a diff pager keep colours for diff when adding files in interactive mode My ~/.gitconfig setup: [color] ui = auto # diff = false [pager] diff = vim - With this configuration the interactive mode for git add --interactive produces coloured output as expected: The downside of this is that diff in vim is corrupted. See the output of git diff : When using git diff | vim - the colours are OK but I'm too lazy to type the full command. Is there any known method that preserves colours in both cases?
Tags (comma-separated)
Save Edits
Cancel