@git / git-reference / commits / 1c92bc8

change location of 'git branch -v'

Robert Djurasaj committed Feb 7, 2013 at 16:57 UTC 1c92bc8b35bdb53eba4e5d6754fc3ab8741dac67
1 file changed +15 -15
branching/index.html
+15 -15
@@ -215,21 +215,6 @@ Deleted branch testing (was 78b2670).
215 * <span class="green">master</span>
216 </pre>
217
218 - <h4>
219 - git branch -v
220 - <small>see the last commit on each branch</small>
221 - </h4>
222 -
223 - <p>If we want to see last commits on each branch
224 - we can run <code>git branch -v</code> to see them.</p>
225 -
226 -<pre>
227 -<b>$ git branch -v</b>
228 -* <span class="green">master</span> 54b417d fix javascript issue
229 - development 74c111d modify component.json file
230 - testing 62a557a update test scripts
231 -</pre>
232 -
218 <h4>
219 git push (remote-name) :(branchname)
220 <small>delete a remote branch</small>
@@ -337,6 +322,21 @@ HelloWorld.hello
322 switch to it so your class renaming changes are isolated. We're going to
323 change each instance of 'HelloWorld' to 'HiWorld'.</p>
324
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 +
340 <pre>
341 <b>$ git checkout -b change_class</b>
342 Switched to a new branch 'change_class'