Re: [q] git-diff --reverse 7def2be1..7def2be1^
- From
- Ingo Molnar <mingo@elte.hu>
- Date
- Jun 20, 2008, 13:52 UTC
- Message-ID
- <20080620135236.GC8135@elte.hu>
- In-Reply-To
- <m3d4mcmq20.fsf@localhost.localdomain>
* Jakub Narebski <jnareb@gmail.com> wrote:
Show 6 quoted lines
> > But Git didnt recognize that as a valid commit range. > > There is shortcut for rev^..rev, namely rev^! (I'm not sure if it is > documented anywhere, though), so you could have used > > git diff 7def2be1^!
nice! :-)
Show 6 quoted lines
> > [ time passes as i read the manpage - the final thing i do when > > every other measure fails ;-) ] > > > > Ah, there's "git-log -R" that would achieve this. > > I think you should have done this first...
to read the man page? Nobody reads the manuals, except in grave circumstances ;-)
(Seriously, i usually try to guess around a lot with shell commands just to figure out new things, and to see how intuitive they are.)
Ingo