summaryrefslogtreecommitdiff
path: root/git-demo
diff options
context:
space:
mode:
Diffstat (limited to 'git-demo')
-rw-r--r--git-demo1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-demo b/git-demo
index 1b303c1..eb2e34c 100644
--- a/git-demo
+++ b/git-demo
@@ -28,6 +28,7 @@ git add hello.c
git commit -q -m "merged"
cat hello.c
git checkout HEAD^
+git checkout HEAD^
cat hello.c
git checkout master
sleep 2; echo "this emulates unsaved vim session" > .hello.c.swp