diff --git a/README.markdown b/README.markdown
index 63c9d30..881d78a 100644
--- a/README.markdown
+++ b/README.markdown
@@ -232,9 +232,9 @@ The `*` should indicate the current branch you are on, which is
`master`.
If you wish to start another branch, use
-`git checkout -b (new-branch-name)` :
+`git branch (new-branch-name)` :
- $ git checkout -b exp1
+ $ git branch exp1
Try git branch again to check which branch you are currently on:
@@ -249,6 +249,8 @@ to the new branch:
`git checkout (branch-name)` is used to switch branches.
+`git checkout -b (new-branch-name)` can be used to create a new branch and switch to it in one command.
+
Let’s perform some commits now,
$ echo 'some content' > test.txt
@@ -487,7 +489,7 @@ I throughly recommend these resources to continue your Git practice:
- http://git-scm.com Official
website, with very useful help, book and videos
- http://gitref.org
-- http://www.kernel.org/pub/software/scm/git/docs/everyday.html
+- http://www.kernel.org/pub/software/scm/git/docs/everyday.html
Author
------