Web lists-archives.com

Re: A puzzling omission from the Git book

On Fri, 29 Mar 2019, Peter Toye wrote:

> 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>



Robert P. J. Day                                 Ottawa, Ontario, CANADA

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday