mirror of
https://github.com/tj/git-extras.git
synced 2026-09-12 00:16:27 -04:00
99 lines
1.8 KiB
Markdown
99 lines
1.8 KiB
Markdown
|
|
# Git Extras
|
|
|
|
Little git extras.
|
|
|
|
## Installation
|
|
|
|
$ make install
|
|
|
|
## git-count
|
|
|
|
Output commit total:
|
|
|
|
$ git count
|
|
|
|
total 1844
|
|
|
|
Output verbose commit count details:
|
|
|
|
$ git count --all
|
|
|
|
visionmedia (1285)
|
|
Tj Holowaychuk (430)
|
|
Aaron Heckmann (48)
|
|
csausdev (34)
|
|
ciaranj (26)
|
|
Guillermo Rauch (6)
|
|
Brian McKinney (2)
|
|
Nick Poulden (2)
|
|
Benny Wong (2)
|
|
Justin Lilly (1)
|
|
isaacs (1)
|
|
Adam Sanderson (1)
|
|
Viktor Kelemen (1)
|
|
Gregory Ritter (1)
|
|
Greg Ritter (1)
|
|
ewoudj (1)
|
|
James Herdman (1)
|
|
Matt Colyer (1)
|
|
|
|
total 1844
|
|
|
|
## git-release
|
|
|
|
Release commit with the given <tag>.
|
|
|
|
$ git release 0.1.0
|
|
|
|
Does the following:
|
|
|
|
- Commits changes (to changelog etc) with message "Release <tag>"
|
|
- Tags with the given <tag>
|
|
- Pushes the branch / tags
|
|
|
|
## git-ignore
|
|
|
|
To lazy to open up _.gitignore_? me too! simply pass some patterns:
|
|
|
|
$ git ignore build "*.o" "*.log"
|
|
... added 'build'
|
|
... added '*.o'
|
|
... added '*.log'
|
|
|
|
## git-changelog
|
|
|
|
Populates the file named matching _change|history -i_ with the commits
|
|
since the previous tag or since the project began when no tags are present. Opens the changelog in **$EDITOR** when set.
|
|
|
|
$ git changelog
|
|
|
|
n.n.n / 2010-08-05
|
|
==================
|
|
|
|
* Docs for git-ignore. Closes #3
|
|
* Merge branch 'ignore'
|
|
* Added git-ignore
|
|
* Fixed <tag> in docs
|
|
* Install docs
|
|
* Merge branch 'release'
|
|
* Added git-release
|
|
* Passing args to git shortlog
|
|
* Added --all support to git-count
|
|
* Initial commit
|
|
|
|
Listing commits:
|
|
|
|
$ git changelog --list
|
|
|
|
* Docs for git-ignore. Closes #3
|
|
* Merge branch 'ignore'
|
|
* Added git-ignore
|
|
* Fixed <tag> in docs
|
|
* Install docs
|
|
* Merge branch 'release'
|
|
* Added git-release
|
|
* Passing args to git shortlog
|
|
* Added --all support to git-count
|
|
* Initial commit
|