Skip to content

Commit 5b2906c

Browse files
committed
add git branch -v explanation
1 parent d1c02d6 commit 5b2906c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

branching/index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,21 @@ <h4>
215215
* <span class="green">master</span>
216216
</pre>
217217

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+
218233
<h4>
219234
git push (remote-name) :(branchname)
220235
<small>delete a remote branch</small>

0 commit comments

Comments
 (0)