Friday, June 1, 2012

Visualing Git Diffs

One of the biggest difficulties using the Git command line is visualizing diffs. Turns out there's already a built-in solution.

Just use "git difftool" instead of "git diff", it will launch a diff visualization program.

"git difftool -y <filename>"

The "-y" flag is to prevent a prompt from showing.

No comments:

Post a Comment