mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Added git-extras, removed git-extras-version and git-extras-update
This commit is contained in:
parent
27e8049fd7
commit
9e5b89842b
20
bin/git-extras
Executable file
20
bin/git-extras
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
|
||||
VERSION="0.1.0"
|
||||
|
||||
update() {
|
||||
local orig=$PWD
|
||||
cd /tmp \
|
||||
&& rm -fr ./git-extras \
|
||||
&& git clone --depth 1 http://github.com/visionmedia/git-extras.git \
|
||||
&& cd git-extras \
|
||||
&& make install \
|
||||
&& cd $orig \
|
||||
&& echo "... updated git-extras $VERSION -> $(git extras --version)"
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
-v|--version) echo $VERSION && exit 0 ;;
|
||||
update) update ;;
|
||||
*) man git-extras ;;
|
||||
esac
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
echo "0.1.0"
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
orig=$PWD
|
||||
version=`git extras-version`
|
||||
|
||||
cd /tmp \
|
||||
&& rm -fr ./git-extras \
|
||||
&& git clone --depth 1 http://github.com/visionmedia/git-extras.git \
|
||||
&& cd git-extras \
|
||||
&& make install \
|
||||
&& cd $orig \
|
||||
&& echo "... updated to git-extras $version"
|
||||
|
||||
59
man/git-extras.1
Normal file
59
man/git-extras.1
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
.\" generated with Ronn/v0.7.3
|
||||
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
||||
.
|
||||
.TH "GIT\-EXTRAS" "1" "March 2011" "" "Git Extras"
|
||||
.
|
||||
.SH "NAME"
|
||||
\fBgit\-extras\fR \- Awesome GIT utilities
|
||||
.
|
||||
.SH "COMMANDS"
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-changelog\fR changelog population
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-commits\-since\fR show commit logs since some date
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-contrib\fR show a user\'s contribution
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-count\fR show commit count
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-fresh\-branch\fR create fresh branches
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-graft\fR merge and destroy a given branch
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-ignore\fR add \.gitignore patterns
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-release\fR commit, tag and push changes to the repository
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-setup\fR set up a git repository with initial commit
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-repl\fR GIT read\-eval\-print\-loop
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-summary\fR repository summary & contrib
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-touch\fR touch and add file to the index
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-undo\fR undo one or more of the latest commits
|
||||
.
|
||||
.IP "" 0
|
||||
.
|
||||
.SH "AUTHOR"
|
||||
Written by Tj Holowaychuk <\fItj@vision\-media\.ca\fR>
|
||||
.
|
||||
.SH "REPORTING BUGS"
|
||||
<\fIhttp://github\.com/visionmedia/git\-extras/issues\fR>
|
||||
.
|
||||
.SH "SEE ALSO"
|
||||
<\fIhttp://github\.com/visionmedia/git\-extras\fR>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
<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-update-extras(1) - Updates git extras</title>
|
||||
<title>git-extras(1) - Awesome GIT utilities</title>
|
||||
<style type='text/css' media='all'>
|
||||
/* style: man */
|
||||
body#manpage {margin:0}
|
||||
|
|
@ -54,35 +54,45 @@
|
|||
|
||||
<div class='man-navigation' style='display:none'>
|
||||
<a href="#NAME">NAME</a>
|
||||
<a href="#SYNOPSIS">SYNOPSIS</a>
|
||||
<a href="#DESCRIPTION">DESCRIPTION</a>
|
||||
<a href="#COMMANDS">COMMANDS</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-update-extras(1)</li>
|
||||
<li class='tl'>git-extras(1)</li>
|
||||
<li class='tc'>Git Extras</li>
|
||||
<li class='tr'>git-update-extras(1)</li>
|
||||
<li class='tr'>git-extras(1)</li>
|
||||
</ol>
|
||||
|
||||
<h2 id="NAME">NAME</h2>
|
||||
<p class="man-name">
|
||||
<code>git-update-extras</code> - <span class="man-whatis">Updates git extras</span>
|
||||
<code>git-extras</code> - <span class="man-whatis">Awesome GIT utilities</span>
|
||||
</p>
|
||||
|
||||
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
||||
<h2 id="COMMANDS">COMMANDS</h2>
|
||||
|
||||
<p><code>git-update-extras</code></p>
|
||||
<ul>
|
||||
<li> <code>git-changelog</code> changelog population</li>
|
||||
<li> <code>git-commits-since</code> show commit logs since some date</li>
|
||||
<li> <code>git-contrib</code> show a user's contribution</li>
|
||||
<li> <code>git-count</code> show commit count</li>
|
||||
<li> <code>git-fresh-branch</code> create fresh branches</li>
|
||||
<li> <code>git-graft</code> merge and destroy a given branch</li>
|
||||
<li> <code>git-ignore</code> add .gitignore patterns</li>
|
||||
<li> <code>git-release</code> commit, tag and push changes to the repository</li>
|
||||
<li> <code>git-setup</code> set up a git repository with initial commit</li>
|
||||
<li> <code>git-repl</code> GIT read-eval-print-loop</li>
|
||||
<li> <code>git-summary</code> repository summary & contrib</li>
|
||||
<li> <code>git-touch</code> touch and add file to the index</li>
|
||||
<li> <code>git-undo</code> undo one or more of the latest commits</li>
|
||||
</ul>
|
||||
|
||||
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
||||
|
||||
<p> Updates git extras. Clones the repo to <em>/tmp/git-extras</em>, make installs, then cds back to the origin directory.</p>
|
||||
|
||||
<h2 id="AUTHOR">AUTHOR</h2>
|
||||
|
||||
<p>Written by Tj Holowaychuk <<a href="mailto:tj@vision-media.ca" data-bare-link="true">tj@vision-media.ca</a>></p>
|
||||
<p>Written by Tj Holowaychuk <<a href="mailto:tj@vision-media.ca" data-bare-link="true">tj@vision-media.ca</a>></p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
|
|
@ -95,8 +105,8 @@
|
|||
|
||||
<ol class='man-decor man-foot man foot'>
|
||||
<li class='tl'></li>
|
||||
<li class='tc'>October 2010</li>
|
||||
<li class='tr'>git-update-extras(1)</li>
|
||||
<li class='tc'>March 2011</li>
|
||||
<li class='tr'>git-extras(1)</li>
|
||||
</ol>
|
||||
|
||||
</div>
|
||||
30
man/git-extras.md
Normal file
30
man/git-extras.md
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
git-extras(1) -- Awesome GIT utilities
|
||||
=================================
|
||||
|
||||
## COMMANDS
|
||||
|
||||
- `git-changelog` changelog population
|
||||
- `git-commits-since` show commit logs since some date
|
||||
- `git-contrib` show a user's contribution
|
||||
- `git-count` show commit count
|
||||
- `git-fresh-branch` create fresh branches
|
||||
- `git-graft` merge and destroy a given branch
|
||||
- `git-ignore` add .gitignore patterns
|
||||
- `git-release` commit, tag and push changes to the repository
|
||||
- `git-setup` set up a git repository with initial commit
|
||||
- `git-repl` GIT read-eval-print-loop
|
||||
- `git-summary` repository summary & contrib
|
||||
- `git-touch` touch and add file to the index
|
||||
- `git-undo` undo one or more of the latest commits
|
||||
|
||||
## AUTHOR
|
||||
|
||||
Written by Tj Holowaychuk <<tj@vision-media.ca>>
|
||||
|
||||
## REPORTING BUGS
|
||||
|
||||
<<http://github.com/visionmedia/git-extras/issues>>
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
<<http://github.com/visionmedia/git-extras>>
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
.\" generated with Ronn/v0.7.3
|
||||
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
||||
.
|
||||
.TH "GIT\-GRAFT" "1" "October 2010" "" "Git Extras"
|
||||
.TH "GIT\-GRAFT" "1" "March 2011" "" "Git Extras"
|
||||
.
|
||||
.SH "NAME"
|
||||
\fBgit\-graft\fR \- Merge commits together
|
||||
\fBgit\-graft\fR \- Merge and destroy a given branch
|
||||
.
|
||||
.SH "SYNOPSIS"
|
||||
\fBgit\-graft\fR <src\-branch> [<dest\-branch>]
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<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-graft(1) - Merge commits together</title>
|
||||
<title>git-graft(1) - Merge and destroy a given branch</title>
|
||||
<style type='text/css' media='all'>
|
||||
/* style: man */
|
||||
body#manpage {margin:0}
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
|
||||
<h2 id="NAME">NAME</h2>
|
||||
<p class="man-name">
|
||||
<code>git-graft</code> - <span class="man-whatis">Merge commits together</span>
|
||||
<code>git-graft</code> - <span class="man-whatis">Merge and destroy a given branch</span>
|
||||
</p>
|
||||
|
||||
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
||||
|
|
@ -96,7 +96,7 @@ $ git graft new_feature
|
|||
|
||||
<h2 id="AUTHOR">AUTHOR</h2>
|
||||
|
||||
<p>Written by Kenneth Reitz <<a href="mailto:me@kennethreitz.com" data-bare-link="true">me@kennethreitz.com</a>></p>
|
||||
<p>Written by Kenneth Reitz <<a href="mailto:me@kennethreitz.com" data-bare-link="true">me@kennethreitz.com</a>></p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
|
|
@ -109,7 +109,7 @@ $ git graft new_feature
|
|||
|
||||
<ol class='man-decor man-foot man foot'>
|
||||
<li class='tl'></li>
|
||||
<li class='tc'>October 2010</li>
|
||||
<li class='tc'>March 2011</li>
|
||||
<li class='tr'>git-graft(1)</li>
|
||||
</ol>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
git-graft(1) -- Merge commits together
|
||||
git-graft(1) -- Merge and destroy a given branch
|
||||
======================================
|
||||
|
||||
## SYNOPSIS
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
.\" generated with Ronn/v0.7.3
|
||||
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
||||
.
|
||||
.TH "GIT\-IGNORE" "1" "October 2010" "" "Git Extras"
|
||||
.TH "GIT\-IGNORE" "1" "March 2011" "" "Git Extras"
|
||||
.
|
||||
.SH "NAME"
|
||||
\fBgit\-ignore\fR \- Ignore untracked files
|
||||
\fBgit\-ignore\fR \- Add \.gitignore patterns
|
||||
.
|
||||
.SH "SYNOPSIS"
|
||||
\fBgit\-ignore\fR [<pattern>\.\.\.]
|
||||
\fBgit\-ignore\fR [<pattern>\|\.\|\.\|\.]
|
||||
.
|
||||
.SH "DESCRIPTION"
|
||||
Adds the given _pattern_s to a gitignore file\.
|
||||
|
|
@ -22,9 +22,9 @@ To lazy to open up \fI\.gitignore\fR? me too! simply pass some patterns:
|
|||
.nf
|
||||
|
||||
$ git ignore build "*\.o" "*\.log"
|
||||
\.\.\. added \'build\'
|
||||
\.\.\. added \'*\.o\'
|
||||
\.\.\. added \'*\.log\'
|
||||
\|\.\|\.\|\. added \'build\'
|
||||
\|\.\|\.\|\. added \'*\.o\'
|
||||
\|\.\|\.\|\. added \'*\.log\'
|
||||
.
|
||||
.fi
|
||||
.
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<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-ignore(1) - Ignore untracked files</title>
|
||||
<title>git-ignore(1) - Add .gitignore patterns</title>
|
||||
<style type='text/css' media='all'>
|
||||
/* style: man */
|
||||
body#manpage {margin:0}
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
|
||||
<h2 id="NAME">NAME</h2>
|
||||
<p class="man-name">
|
||||
<code>git-ignore</code> - <span class="man-whatis">Ignore untracked files</span>
|
||||
<code>git-ignore</code> - <span class="man-whatis">Add .gitignore patterns</span>
|
||||
</p>
|
||||
|
||||
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
||||
|
|
@ -104,7 +104,7 @@ build
|
|||
|
||||
<h2 id="AUTHOR">AUTHOR</h2>
|
||||
|
||||
<p>Written by Tj Holowaychuk <<a href="mailto:tj@vision-media.ca" data-bare-link="true">tj@vision-media.ca</a>></p>
|
||||
<p>Written by Tj Holowaychuk <<a href="mailto:tj@vision-media.ca" data-bare-link="true">tj@vision-media.ca</a>></p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
|
|
@ -117,7 +117,7 @@ build
|
|||
|
||||
<ol class='man-decor man-foot man foot'>
|
||||
<li class='tl'></li>
|
||||
<li class='tc'>October 2010</li>
|
||||
<li class='tc'>March 2011</li>
|
||||
<li class='tr'>git-ignore(1)</li>
|
||||
</ol>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
git-ignore(1) -- Ignore untracked files
|
||||
git-ignore(1) -- Add .gitignore patterns
|
||||
=======================================
|
||||
|
||||
## SYNOPSIS
|
||||
|
|
|
|||
|
|
@ -1,22 +0,0 @@
|
|||
.\" generated with Ronn/v0.7.3
|
||||
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
||||
.
|
||||
.TH "GIT\-UPDATE\-EXTRAS" "1" "October 2010" "" "Git Extras"
|
||||
.
|
||||
.SH "NAME"
|
||||
\fBgit\-update\-extras\fR \- Updates git extras
|
||||
.
|
||||
.SH "SYNOPSIS"
|
||||
\fBgit\-update\-extras\fR
|
||||
.
|
||||
.SH "DESCRIPTION"
|
||||
Updates git extras\. Clones the repo to \fI/tmp/git\-extras\fR, make installs, then cds back to the origin directory\.
|
||||
.
|
||||
.SH "AUTHOR"
|
||||
Written by Tj Holowaychuk <\fItj@vision\-media\.ca\fR>
|
||||
.
|
||||
.SH "REPORTING BUGS"
|
||||
<\fIhttp://github\.com/visionmedia/git\-extras/issues\fR>
|
||||
.
|
||||
.SH "SEE ALSO"
|
||||
<\fIhttp://github\.com/visionmedia/git\-extras\fR>
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
git-update-extras(1) -- Updates git extras
|
||||
==========================================
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
`git-update-extras`
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
Updates git extras. Clones the repo to _/tmp/git-extras_, make installs, then cds back to the origin directory.
|
||||
|
||||
## AUTHOR
|
||||
|
||||
Written by Tj Holowaychuk <<tj@vision-media.ca>>
|
||||
|
||||
## REPORTING BUGS
|
||||
|
||||
<<http://github.com/visionmedia/git-extras/issues>>
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
<<http://github.com/visionmedia/git-extras>>
|
||||
Loading…
Reference in a new issue