From 5ef4990771461117725bf236e12c39900feac369 Mon Sep 17 00:00:00 2001 From: Tim Green Date: Sat, 12 Apr 2014 21:48:03 +0100 Subject: [PATCH] Add code to, and rename Change Directory to Previous Branch --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 602b093..9524e3b 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Which translates to: $ git clone git://github.com/tiimgreen/toc.git ``` -## Changing Directories +## Previous Branch To move to the previous directory in the command line: @@ -43,6 +43,9 @@ Similarly, to move to the last branch in git: ```bash $ git checkout - # Switched to branch 'master' + +$ git checkout - +# Switched to branch 'next' ``` ## git.io