From: Junio C Hamano Date: Fri, 20 Jun 2008 08:38:03 GMT Subject: Re: [q] git-diff --reverse 7def2be1..7def2be1^ Message-ID: <7v7icko61g.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20080620082034.GA24913@elte.hu> Ingo Molnar writes: > a) -R is not recognized by git-diff (so i cannot just standardize > myself on -R and have to waste neurons on remembering the > distinction ;-) Huh? Have you actually tried "git diff -R"? My copy of git 1.0.0 knows about it. What year are you still in ;-)? If you apply the output of git diff -R HEAD^..HEAD to your tree, you can revert the tip commit. It is the same as git diff HEAD..HEAD^ If you want to write a forward diff in an obscure way, you could say git diff -R HEAD..HEAD^