Added git-show-tree.

See commits from all the branches plotted in a tree view.
This commit is contained in:
nickl- 2012-07-21 22:47:50 +02:00
parent aa084d9b7b
commit 8f4a17044d
4 changed files with 262 additions and 0 deletions

3
bin/git-show-tree Normal file
View file

@ -0,0 +1,3 @@
#!/bin/sh
git log --all --graph --decorate --oneline --simplify-by-decoration

63
man/git-show-tree.1 Normal file
View file

@ -0,0 +1,63 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "GIT\-SHOW\-TREE" "1" "July 2012" "" ""
.
.SH "NAME"
\fBgit\-show\-tree\fR \- show branch tree of commit history
.
.SH "SYNOPSIS"
\fBgit\-show\-tree\fR
.
.SH "DESCRIPTION"
Show the decorated graph view of one liner summarized commits from all branches\.
.
.SH "EXAMPLES"
Output the commit history log for all branches as tree view:
.
.IP "" 4
.
.nf
* 4b57684 (HEAD, develop) Merge branch upstream master\.
|\e
| * 515e94a Merge pull request #128 from nickl\-/git\-extras\-html\-hyperlinks
| |\e
| | * 815db8b (nickl/git\-extras\-html\-hyperlinks, git\-extras\-html\-hyperlinks) help ronn make hyperlinks\.
| * | 7398d10 (nickl/develop) Fix #127 git\-ignore won\'t add duplicates\.
| |/
| | * ab72c1e (refs/stash) WIP on develop: 5e943f5 Fix #127 git\-ignore won\'t add duplicates\.
| |/
|/|
* | 730ca89 (bolshakov) Rebase bolshakov with master
|/
* 60f8371 (origin/master, origin/HEAD, master) Merge pull request #126 from agrimaldi/fix\-changelog\-last\-tag
* 9627780 (tag: 1\.7\.0) Release 1\.7\.0
* 2e53ff6 (tag: 1\.6\.0) Release 1\.6\.0
* bbd32d8 (tag: 1\.5\.1) Release 1\.5\.1
| * 6b6b758 (nickl/gh\-pages, gh\-pages) add example git\-extras to gh\-pages
| * 19cfd11 (origin/gh\-pages) Index page
| | * 881a70e (tag: 1\.5\.0) Release 1\.5\.0
| |/
|/|
* | 4db5ee0 (tag: 1\.4\.0) Release 1\.4\.0
* | 9b0bc89 (tag: 1\.3\.0) Release 1\.3\.0
* | be49961 (tag: 1\.2\.0) Release 1\.2\.0
* | c1d2dfc (tag: 1\.1\.0) Release 1\.1\.0
* | 4a56adb (tag: 1\.0\.0) Release 1\.0\.0
* | 948308b (tag: 0\.9\.0) Release 0\.9\.0
* | 40b131d (tag: 0\.8\.1) Release 0\.8\.1
* | 391431d (tag: 0\.8\.0) Release 0\.8\.0
.
.fi
.
.IP "" 0
.
.SH "AUTHOR"
Written by Nick Lombard \fIgithub@jigsoft\.co\.za\fR
.
.SH "REPORTING BUGS"
<\fIhttp://github\.com/visionmedia/git\-extras/issues\fR>
.
.SH "SEE ALSO"
<\fIhttp://github\.com/visionmedia/git\-extras\fR>

140
man/git-show-tree.html Normal file
View file

@ -0,0 +1,140 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv='content-type' value='text/html;charset=utf8'>
<meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
<title>git-show-tree(1) - show branch tree of commit history</title>
<style type='text/css' media='all'>
/* style: man */
body#manpage {margin:0}
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
.mp h2 {margin:10px 0 0 0}
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
.mp h3 {margin:0 0 0 4ex}
.mp dt {margin:0;clear:left}
.mp dt.flush {float:left;width:8ex}
.mp dd {margin:0 0 0 9ex}
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
.mp pre {margin-bottom:20px}
.mp pre+h2,.mp pre+h3 {margin-top:22px}
.mp h2+pre,.mp h3+pre {margin-top:5px}
.mp img {display:block;margin:auto}
.mp h1.man-title {display:none}
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
.mp h2 {font-size:16px;line-height:1.25}
.mp h1 {font-size:20px;line-height:2}
.mp {text-align:justify;background:#fff}
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
.mp u {text-decoration:underline}
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
.mp b.man-ref {font-weight:normal;color:#434241}
.mp pre {padding:0 4ex}
.mp pre code {font-weight:normal;color:#434241}
.mp h2+pre,h3+pre {padding-left:0}
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
ol.man-decor {width:100%}
ol.man-decor li.tl {text-align:left}
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
ol.man-decor li.tr {text-align:right;float:right}
</style>
</head>
<!--
The following styles are deprecated and will be removed at some point:
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
.man-navigation should be used instead.
-->
<body id='manpage'>
<div class='mp' id='man'>
<div class='man-navigation' style='display:none'>
<a href="#NAME">NAME</a>
<a href="#SYNOPSIS">SYNOPSIS</a>
<a href="#DESCRIPTION">DESCRIPTION</a>
<a href="#EXAMPLES">EXAMPLES</a>
<a href="#AUTHOR">AUTHOR</a>
<a href="#REPORTING-BUGS">REPORTING BUGS</a>
<a href="#SEE-ALSO">SEE ALSO</a>
</div>
<ol class='man-decor man-head man head'>
<li class='tl'>git-show-tree(1)</li>
<li class='tc'></li>
<li class='tr'>git-show-tree(1)</li>
</ol>
<h2 id="NAME">NAME</h2>
<p class="man-name">
<code>git-show-tree</code> - <span class="man-whatis">show branch tree of commit history</span>
</p>
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<p><code>git-show-tree</code></p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p>Show the decorated graph view of one liner summarized commits from all branches.</p>
<h2 id="EXAMPLES">EXAMPLES</h2>
<p> Output the commit history log for all branches as tree view:</p>
<pre><code>* 4b57684 (HEAD, develop) Merge branch upstream master.
|\
| * 515e94a Merge pull request #128 from nickl-/git-extras-html-hyperlinks
| |\
| | * 815db8b (nickl/git-extras-html-hyperlinks, git-extras-html-hyperlinks) help ronn make hyperlinks.
| * | 7398d10 (nickl/develop) Fix #127 git-ignore won't add duplicates.
| |/
| | * ab72c1e (refs/stash) WIP on develop: 5e943f5 Fix #127 git-ignore won't add duplicates.
| |/
|/|
* | 730ca89 (bolshakov) Rebase bolshakov with master
|/
* 60f8371 (origin/master, origin/HEAD, master) Merge pull request #126 from agrimaldi/fix-changelog-last-tag
* 9627780 (tag: 1.7.0) Release 1.7.0
* 2e53ff6 (tag: 1.6.0) Release 1.6.0
* bbd32d8 (tag: 1.5.1) Release 1.5.1
| * 6b6b758 (nickl/gh-pages, gh-pages) add example git-extras to gh-pages
| * 19cfd11 (origin/gh-pages) Index page
| | * 881a70e (tag: 1.5.0) Release 1.5.0
| |/
|/|
* | 4db5ee0 (tag: 1.4.0) Release 1.4.0
* | 9b0bc89 (tag: 1.3.0) Release 1.3.0
* | be49961 (tag: 1.2.0) Release 1.2.0
* | c1d2dfc (tag: 1.1.0) Release 1.1.0
* | 4a56adb (tag: 1.0.0) Release 1.0.0
* | 948308b (tag: 0.9.0) Release 0.9.0
* | 40b131d (tag: 0.8.1) Release 0.8.1
* | 391431d (tag: 0.8.0) Release 0.8.0
</code></pre>
<h2 id="AUTHOR">AUTHOR</h2>
<p>Written by Nick Lombard <a href="&#109;&#x61;&#x69;&#x6c;&#116;&#111;&#x3a;&#103;&#105;&#116;&#104;&#x75;&#98;&#x40;&#x6a;&#105;&#103;&#x73;&#x6f;&#102;&#x74;&#x2e;&#99;&#x6f;&#x2e;&#122;&#x61;" data-bare-link="true">&#103;&#105;&#116;&#104;&#x75;&#x62;&#x40;&#106;&#105;&#x67;&#x73;&#111;&#x66;&#116;&#x2e;&#x63;&#111;&#46;&#122;&#97;</a></p>
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
<p>&lt;<a href="http://github.com/visionmedia/git-extras/issues" data-bare-link="true">http://github.com/visionmedia/git-extras/issues</a>&gt;</p>
<h2 id="SEE-ALSO">SEE ALSO</h2>
<p>&lt;<a href="http://github.com/visionmedia/git-extras" data-bare-link="true">http://github.com/visionmedia/git-extras</a>&gt;</p>
<ol class='man-decor man-foot man foot'>
<li class='tl'></li>
<li class='tc'>July 2012</li>
<li class='tr'>git-show-tree(1)</li>
</ol>
</div>
</body>
</html>

56
man/git-show-tree.md Normal file
View file

@ -0,0 +1,56 @@
git-show-tree(1) -- show branch tree of commit history
======================================================
## SYNOPSIS
`git-show-tree`
## DESCRIPTION
Show the decorated graph view of one liner summarized commits from all branches.
## EXAMPLES
Output the commit history log for all branches as tree view:
* 4b57684 (HEAD, develop) Merge branch upstream master.
|\
| * 515e94a Merge pull request #128 from nickl-/git-extras-html-hyperlinks
| |\
| | * 815db8b (nickl/git-extras-html-hyperlinks, git-extras-html-hyperlinks) help ronn make hyperlinks.
| * | 7398d10 (nickl/develop) Fix #127 git-ignore won't add duplicates.
| |/
| | * ab72c1e (refs/stash) WIP on develop: 5e943f5 Fix #127 git-ignore won't add duplicates.
| |/
|/|
* | 730ca89 (bolshakov) Rebase bolshakov with master
|/
* 60f8371 (origin/master, origin/HEAD, master) Merge pull request #126 from agrimaldi/fix-changelog-last-tag
* 9627780 (tag: 1.7.0) Release 1.7.0
* 2e53ff6 (tag: 1.6.0) Release 1.6.0
* bbd32d8 (tag: 1.5.1) Release 1.5.1
| * 6b6b758 (nickl/gh-pages, gh-pages) add example git-extras to gh-pages
| * 19cfd11 (origin/gh-pages) Index page
| | * 881a70e (tag: 1.5.0) Release 1.5.0
| |/
|/|
* | 4db5ee0 (tag: 1.4.0) Release 1.4.0
* | 9b0bc89 (tag: 1.3.0) Release 1.3.0
* | be49961 (tag: 1.2.0) Release 1.2.0
* | c1d2dfc (tag: 1.1.0) Release 1.1.0
* | 4a56adb (tag: 1.0.0) Release 1.0.0
* | 948308b (tag: 0.9.0) Release 0.9.0
* | 40b131d (tag: 0.8.1) Release 0.8.1
* | 391431d (tag: 0.8.0) Release 0.8.0
## AUTHOR
Written by Nick Lombard <github@jigsoft.co.za>
## REPORTING BUGS
&lt;<http://github.com/visionmedia/git-extras/issues>&gt;
## SEE ALSO
&lt;<http://github.com/visionmedia/git-extras>&gt;