From ed16d028631b2fa68412829302264fca53dcc87b Mon Sep 17 00:00:00 2001 From: James Williamson Date: Fri, 30 May 2014 23:59:20 -0400 Subject: [PATCH] fixed typo --- reference.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference.html b/reference.html index 825da64..761dfa9 100644 --- a/reference.html +++ b/reference.html @@ -116,7 +116,7 @@

Branch

Displays a list of existing branches and indicates the current branch.

git branch <name>

Creates a new branch with the specified name.

-
git commit -b <name>
+
git checkout -b <name>

Creates a new branch with the specified name and checks it out so that it is the current branch.

git branch -d <name>

Deletes branch unless the branch has never been merged.