diff options
author | Robert Djurasaj <robert.djurasaj@gmail.com> | 2013-02-07 22:35:37 +0400 |
---|---|---|
committer | Robert Djurasaj <robert.djurasaj@gmail.com> | 2013-02-07 22:35:37 +0400 |
commit | 5b2906c6d7388da1a0b7b34c44352dd6fe7fb670 (patch) | |
tree | 6dc8558cdde4005d5f6faa9d982050c94fb1ae9f | |
parent | d1c02d60254ccf235e9591f8fe07143a8b8e6812 (diff) |
add git branch -v explanation
-rw-r--r-- | branching/index.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/branching/index.html b/branching/index.html index 9b2434d..5db0d6d 100644 --- a/branching/index.html +++ b/branching/index.html @@ -216,6 +216,21 @@ Deleted branch testing (was 78b2670). </pre> <h4> + git branch -v + <small>see the last commit on each branch</small> + </h4> + + <p>If we want to see last commits on each branch + we can run <code>git branch -v</code> to see them.</p> + +<pre> +<b>$ git branch -v</b> +* <span class="green">master</span> 54b417d fix javascript issue + development 74c111d modify component.json file + testing 62a557a update test scripts +</pre> + + <h4> git push (remote-name) :(branchname) <small>delete a remote branch</small> </h4> |