From 2f8f44fc8955987b605c4940d2315057f3f907fe Mon Sep 17 00:00:00 2001 From: Robert Djurasaj Date: Fri, 8 Feb 2013 09:26:32 -0700 Subject: [PATCH] fix the position of 'git branch -v' --- branching/index.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/branching/index.html b/branching/index.html index 0a75034..27fd588 100644 --- a/branching/index.html +++ b/branching/index.html @@ -145,6 +145,21 @@ Switched to branch 'master' README hello.rb more.txt test.txt +

+ git branch -v + see the last commit on each branch +

+ +

If we want to see last commits on each branch + we can run git branch -v to see them.

+ +
+$ git branch -v
+* master      54b417d fix javascript issue
+  development 74c111d modify component.json file
+  testing     62a557a update test scripts
+
+

git checkout -b (branchname) create and immediately switch to a branch @@ -322,21 +337,6 @@ HelloWorld.hello switch to it so your class renaming changes are isolated. We're going to change each instance of 'HelloWorld' to 'HiWorld'.

-

- git branch -v - see the last commit on each branch -

- -

If we want to see last commits on each branch - we can run git branch -v to see them.

- -
-$ git branch -v
-* master      54b417d fix javascript issue
-  development 74c111d modify component.json file
-  testing     62a557a update test scripts
-
-
 $ git checkout -b change_class
 Switched to a new branch 'change_class'