Skip to content

Commit f0e513a

Browse files
author
Tim Berglund
committed
Merge pull request #60 from robertd/gh-pages
fix position of 'git branch -v'
2 parents e6319d0 + 2f8f44f commit f0e513a

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

branching/index.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,21 @@ <h4>
145145
README hello.rb more.txt test.txt
146146
</pre>
147147

148+
<h4>
149+
git branch -v
150+
<small>see the last commit on each branch</small>
151+
</h4>
152+
153+
<p>If we want to see last commits on each branch
154+
we can run <code>git branch -v</code> to see them.</p>
155+
156+
<pre>
157+
<b>$ git branch -v</b>
158+
* <span class="green">master</span> 54b417d fix javascript issue
159+
development 74c111d modify component.json file
160+
testing 62a557a update test scripts
161+
</pre>
162+
148163
<h4>
149164
git checkout -b (branchname)
150165
<small>create and immediately switch to a branch</small>
@@ -322,21 +337,6 @@ <h4>
322337
switch to it so your class renaming changes are isolated. We're going to
323338
change each instance of 'HelloWorld' to 'HiWorld'.</p>
324339

325-
<h4>
326-
git branch -v
327-
<small>see the last commit on each branch</small>
328-
</h4>
329-
330-
<p>If we want to see last commits on each branch
331-
we can run <code>git branch -v</code> to see them.</p>
332-
333-
<pre>
334-
<b>$ git branch -v</b>
335-
* <span class="green">master</span> 54b417d fix javascript issue
336-
development 74c111d modify component.json file
337-
testing 62a557a update test scripts
338-
</pre>
339-
340340
<pre>
341341
<b>$ git checkout -b change_class</b>
342342
Switched to a new branch 'change_class'

0 commit comments

Comments
 (0)