Is there a combination of a GUI diff viewer and a git configuration that would allow me to view all modified files at once? Currently I use git difftool
and it invokes a separate diff viewer for each file.
It would be great if there was a way to force git to put both versions of all modified files somewhere and invoke the diff tool for all of them only once.
-
Do you want to see all of them in the same window, or do you want to issue only a single command to ``diff`` them all? If it is the former, to what end? – Urs Reupke Aug 10 '12 at 12:06
-
I like to use p4merge as such a tool, but it opens one window per conflict, and I am not sure any other tool does what you want – Vince Aug 10 '12 at 13:47
-
1possible duplicate of [git difftool, open all diff files immediately, not in serial](http://stackoverflow.com/questions/1220309/git-difftool-open-all-diff-files-immediately-not-in-serial) – legoscia Aug 11 '12 at 16:02
4 Answers
Since git 1.7.11, difftool
supports directory comparison:
"
git difftool
" learned the "--dir-diff
" option to spawn external diff tools that can compare two directory hierarchies at a time after populating two temporary directories, instead of running an instance of the external tool once per a file pair.
So you could combine it with an external diff tool, as mentioned in "use Winmerge
inside of Git to file diff
".
With svn I use KDE "kompare" program to view all files at ones.
Like here:
svn diff > output
kompare output
or directly:
svn diff | kompare
also there are Gnom "meld", which supposed to do the same thing (but I didn't tried it yet).
The same should be applicable for git.

- 12,105
- 14
- 57
- 95
Have a look at Atlassian SourceTree
. It's a free Git Client for Windows
& Mac
.
I'm using it since the beta. And it's really the best tool ive ever used for git in my opinion.
Say goodbye to the command line – use the full capability of Git and Mercurial in the SourceTree desktop app. Manage all your repositories, hosted or local, through SourceTree's simple interface.
More informations under:
http://blog.bitbucket.org/2013/03/19/introducing-sourcetree-git-client-microsoft-windows/ http://www.sourcetreeapp.com/

- 3,598
- 4
- 34
- 57
The Bazaar Explorer is quite nice. I think you can get it work with Git by using Plugin (Bazaar Git Support Plugin).

- 1
- 1

- 3,072
- 1
- 19
- 22