A puzzling omission from the Git book
I'm looking for a way of comparing the files in two branches. According to Stack Overflow there's a git diff command but I can't see any reference to it in the book. Am I being more than usually thick?
The Git Gui app doesn't seem to have that command in it either. A bit frustrating.
Yours,
Peter
mailto:[email protected]
www.ptoye.com
Quoted 4 lines · Peter Toye
I'm looking for a way of comparing the files in two branches. According to Stack Overflow there's a git diff command but I can't see any reference to it in the book. Am I being more than usually thick?
it should be just
$ git diff <branch1> <branch2> -- <filename>
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca/dokuwiki
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================