osx - Is it possible to view git diffs using a GUI side-by-side tool on Mac? -
i hate visualizing diffs using default unix diff tool. possible view git diffs using gui tool nicely display local , remote side-by-side, similar how possible set mergetool diffmerge , when
git mergetool myfile.txt it pops diffmerge gui easier visualization , merging? using osx.
you use opendiff. command line tool opens gui of filemerge.
you instruct git use automatically git-mergetool with:
git config --global merge.tool opendiff if want git-difftool well:
git config --global diff.tool opendiff and disable prompting every file with:
git config --global difftool.prompt false for more details type: git config , search / different options.
p.s. if don't have opendiff installed install developer tools xcode: https://developer.apple.com/library/mac/documentation/darwin/reference/manpages/man1/opendiff.1.html
update: in recent versions of xcode, filemerge bundled xcode. cannot install filemerge standalone program. opendiff still in command-line utilities standalone.
Comments
Post a Comment