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.