From: Jakub Narebski Date: Fri, 06 Jun 2008 12:34:59 GMT Subject: Re: How to compare different files in different branches Message-ID: In-Reply-To: <20080606122421.GA1521@denkbrett.schottelius.org> Nico -telmich- Schottelius writes: > I want to compare 'configure.in' from the master branch with > 'configure.ac' from the gpm-2-dev branch. [...] > I really think git can do that, but currently I do not see the right > way. So any idea on how to do that? $ git diff master:configure.in gpm-2-dev:configure.ac See "Specifying revisions" in git-rev-list(1); I think it can be also found in other places, but I'm not sure. git-show(1) refers to this section when describing option. -- Jakub Narebski Poland ShadeHawk on #git