gnfyxw
Last Updated: February 25, 2016
·
595
· jacaetevha
D21ebccf20562e370eb0a8cf170a0580

git diff in your editor

git

Viewing git diffs on the command line is OK for small diffs, but I like viewing larger ones in a diff-aware editor.

Vim

git diff | vim -R -

MacVim

git diff | mvim -R -

Sublime

git diff | subl

TextMate

git diff | mate
Say Thanks
Respond

3 Responses
Add your response

287
6cd8373fb8a3efe36369a0351726e7d7

How to use an external diff-tool via get config files: http://technotales.wordpress.com/2009/05/17/git-diff-with-vimdiff/

over 1 year ago ·
288
D21ebccf20562e370eb0a8cf170a0580

Thanks, @lokiastari. That's even better!

over 1 year ago ·
289
6cd8373fb8a3efe36369a0351726e7d7
over 1 year ago ·
Filed Under