add git branch -v explanation
Robert Djurasaj committed
Feb 7, 2013 at 11:35 UTC
5b2906c6d7388da1a0b7b34c44352dd6fe7fb670
1 file changed
+15
branching/index.html
+15
@@ -215,6 +215,21 @@ 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
+
233
<h4>
234
git push (remote-name) :(branchname)
235
<small>delete a remote branch</small>