From a00299323447ad834c63022080168611d63da394 Mon Sep 17 00:00:00 2001 From: Phil Mitchell Date: Thu, 26 Jul 2018 16:18:16 -0700 Subject: [PATCH] HEAD~3 is equivalent to HEAD~~~, not HEAD^^^ --- book/07-git-tools/sections/revision-selection.asc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/07-git-tools/sections/revision-selection.asc b/book/07-git-tools/sections/revision-selection.asc index 966681e84..a021f3663 100644 --- a/book/07-git-tools/sections/revision-selection.asc +++ b/book/07-git-tools/sections/revision-selection.asc @@ -264,11 +264,11 @@ Date: Fri Nov 7 13:47:59 2008 -0500 ignore *.gem ---- -This can also be written `HEAD^^^`, which again is the first parent of the first parent of the first parent: +This can also be written `HEAD~~~`, which again is the first parent of the first parent of the first parent: [source,console] ---- -$ git show HEAD^^^ +$ git show HEAD~~~ commit 1c3618887afb5fbcbea25b7c013f4e2114448b8d Author: Tom Preston-Werner Date: Fri Nov 7 13:47:59 2008 -0500