pax_global_header00006660000000000000000000000064121601433440014510gustar00rootroot0000000000000052 comment=c45e2b8f5fbc06d783e6557a1c7686ccdd885d1f git-extras-1.9.0/000077500000000000000000000000001216014334400136065ustar00rootroot00000000000000git-extras-1.9.0/AUTHORS000066400000000000000000000006531216014334400146620ustar00rootroot00000000000000git-extras is written and maintained by TJ Holowaychuk and various contributors: Development Lead ```````````````` - TJ Holowaychuk Patches and Suggestions ``````````````````````` - Kenneth Reitz - Aggelos Orfanakos - Jonathan "Duke" Leto - Domenico Rotiroti - Jason Young - Nick Campbell - Jonhnny Weslley - Alex McHale - Gert Van Gool - Devin Withers - David Baumgold - Leila Muhtasib - Duane Johnsongit-extras-1.9.0/History.md000066400000000000000000000125611216014334400155760ustar00rootroot00000000000000 1.9.0 / 2013-06-18 ================== * git-squash: add --me flag to flatten the current branch * Make repository_age() "history rewrite safe" * add git-line-summary 1.8.0 / 2013-05-15 ================== * add `git-archive-file(1)` * add --tag support to git-changelog(1) to reduce manual editing * add !cmd support to git-repl * change: git-delete-merged-branches: use -D instead of delete-branch 1.7.0 / 2012-06-11 ================== * Added repo age to `git-summary` [muhtasib] 1.6.0 / 2012-06-04 ================== * Added `git-rename-tag` * Added current branch to `git-repl` * Fixed: use dirname for `git extras update` [wilmoore] 1.5.1 / 2012-03-15 ================== * Reverted 1.5.0 changes, breaks git-changelog 1.4.0 / 2012-02-08 ================== * Added: allow files to be passed to `git-effort(1)`. Closes #71 * Added: hide/show cursor for `git-effort(1)` * Changed: color `git-effort(1)` commits / active days independently 1.3.0 / 2012-02-08 ================== * Added active days to `git-effort(1)` output 1.2.0 / 2012-02-08 ================== * Added a greater color range to `git-effort(1)` * Added `--above ` to `git-effort(1)` 1.1.0 / 2012-02-07 ================== * Added `git-effort(1)` (not yet complete) 1.0.0 / 2012-02-04 ================== * Added `git-squash BRANCH [MSG]` to merge as a single commit 0.9.0 / 2012-01-15 ================== * Added bash completion support [jweslley] 0.8.1 / 2011-12-30 ================== * Removed `git-promote` 0.8.0 / 2011-12-08 ================== * Added `pre-release` and `post-release `hooks to git-release * Added `git-promote` * Fixed: "git extra update" errors when pwd includes whitespace 0.7.0 / 2011-08-24 ================== * Added percentages to `git-summary` 0.6.0 / 2011-06-24 ================== * Added `git-back` command for soft undos [Kenneth Reitz] 0.5.1 / 2011-05-20 ================== * revert `git-ignore` but retain argc == 0 as showing .gitignore contents * revert broken `git-release` 0.5.0 / 2011-05-19 ================== * Added `git-alias` [jweslley] * Added `git-create-branch` [jweslley] * Fixed one-liner due to `git extras update` change * Fixed; `git-setup` creates a directory if the provided one does not exist [jweslley] * Fixed; `git-setup` support for directories with spaces [jweslley] * Fixed; `git-ignore` with no args no longer fails if `.gitignore` does not exist [jweslley] 0.4.1 / 2011-04-05 ================== * Changed; `git-graft` now defaults to current branch instead of master [Kenneth Reitz] 0.4.0 / 2011-04-05 ================== * Added `git-refactor` * Added `git-bug` * Added `git-feature` 0.3.0 / 2011-03-29 ================== * Added `git-pull-request` 0.2.0 / 2011-03-27 ================== * Added `git-extras` * Added __LICENSE__ * Removed `git-extras-version`, use `git extras --version` * Removed `git-extras-update`, use `git extras update` * Changed; make sure to get the last chronological tag, instead of relying on the bogus `git tag` sorting. [guillermo] 0.1.0 / 2011-02-10 ================== * Added `gh-pages` command 0.0.7 / 2010-10-31 ================== * Added man pages. * Added `make clean`. * Added `make docs`. * Added -d -> -D. Closes #15. * Added git-delete-submodule for delete submodules easily. * Added; `git-ignore` now shows the contents of _./.git-ignore_ if no args are present. 0.0.6 / 2010-10-22 ================== * Added command `git-touch`. * Use a shallow clone in `git-update-extras`. * Create History.md if git-changelog can't find a target. Fixes #14. 0.0.5 / 2010-10-08 ================== * Added `git-delete-submodule`. * Added; `git-ignore` without pattern shows .gitignore contents. * Added; `git-setup` argument is now optional, defaulting to the CWD. * Added REPL alias "ls" as ls-files. 0.0.4 / 2010-09-10 ================== * Added: `git-delete-branch`: Also delete the remote branch. * Added `git-summary` commitish support. * Added `git-graft` dest branch default of _master_. * Added `git-setup`. * Added `git-graft`. * Added `git-undo` for removing recent commits. * Fixed `git-delete-branch`: Don't fail if the local branch doesn't exist. * Fixed __PREFIX__ to respect env vars. * Fixed shift in `git-count`. 0.0.3 / 2010-08-27 ================== * Added `git-extras-version`. * Added `git-update-extras`. * Fixed `git-contrib` issue when the username is in a commit msg. * Fixed: delete remote tag only if local was deleted. * Fixed: delete remote branch only if local was deleted. * Fixed printing of authors for git-summary's on Ubuntu. * Fixed: read doesn't have the -e option in SH on my machine at least. 0.0.2 / 2010-08-24 ================== * Added `git-summary`. * Added `git-commits-since`. * Added `git-repl`. * Added `git-delete-tag`. * Added `git-delete-branch`. * Added `git-contrib`. * Fixed handling off spaces in contributor's name for `git-contrib`. * Fixed spaces in `git-release` names/numbers. * Fixed readme. 0.0.1 / 2010-08-05 ================== * Docs for `git-ignore`. Closes #3. * Merge branch 'ignore'. * Added `git-ignore`. * Readme typo. * Fixed in docs. * Install docs. * Merge branch 'release'. * Added `git-release`. * Fixed readme. * Readme. * Passing args to git shortlog. * Added --all support to git-count. * Initial commit. git-extras-1.9.0/LICENSE000066400000000000000000000021161216014334400146130ustar00rootroot00000000000000(The MIT License) Copyright (c) 2010-2011 TJ Holowaychuk Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.git-extras-1.9.0/Makefile000066400000000000000000000024031216014334400152450ustar00rootroot00000000000000PREFIX ?= /usr/local MANPREFIX ?= "$(PREFIX)/share/man/man1" BINS = $(wildcard bin/git-*) MANS = $(wildcard man/git-*.md) MAN_HTML = $(MANS:.md=.html) MAN_PAGES = $(MANS:.md=.1) docs: $(MAN_HTML) $(MAN_PAGES) install: @mkdir -p $(DESTDIR)$(MANPREFIX) @mkdir -p $(DESTDIR)$(PREFIX)/bin @echo "... installing bins to $(DESTDIR)$(PREFIX)/bin" @echo "... installing man pages to $(DESTDIR)$(MANPREFIX)" @$(foreach BIN, $(BINS), \ echo "... installing `basename $(BIN)`"; \ cp -f $(BIN) $(DESTDIR)$(PREFIX)/$(BIN); \ ) cp -f man/git-*.1 $(DESTDIR)$(MANPREFIX) @mkdir -p $(DESTDIR)/etc/bash_completion.d cp -f etc/bash_completion.sh $(DESTDIR)/etc/bash_completion.d/git-extras man/%.html: man/%.md ronn \ --manual "Git Extras" \ --html \ --pipe \ $< > $@ man/%.1: man/%.md ronn -r \ --manual "Git Extras" \ --pipe \ $< > $@ uninstall: @$(foreach BIN, $(BINS), \ echo "... uninstalling $(DESTDIR)$(PREFIX)/$(BIN)"; \ rm -f $(DESTDIR)$(PREFIX)/$(BIN); \ ) @$(foreach MAN, $(MAN_PAGES), \ echo "... uninstalling $(DESTDIR)$(MANPREFIX)/$(MAN)"; \ rm -f $(DESTDIR)$(MANPREFIX)/$(MAN); \ ) rm -f $(DESTDIR)/etc/bash_completion.d/git-extras clean: docclean docclean: rm -f man/*.1 rm -f man/*.html .PHONY: docs clean docclean install uninstall git-extras-1.9.0/Readme.md000066400000000000000000000237201216014334400153310ustar00rootroot00000000000000# Git Extras Little git extras. ## Installation Clone / Tarball: ```bash $ make install ``` One-liner: ```bash $ (cd /tmp && git clone --depth 1 https://github.com/visionmedia/git-extras.git && cd git-extras && sudo make install) ``` [MacPorts](http://www.macports.org/) ```bash $ sudo port install git-extras ``` [Brew](http://github.com/mxcl/homebrew/) (buggy): ```bash $ brew install git-extras ``` ## Screencasts Just getting started? Check out these screencasts: - [introduction](https://vimeo.com/45506445) -- covering git-ignore, git-setup, git-changelog, git-release, git-effort and more ## Commands - `git extras` - `git squash` - `git summary` - `git effort` - `git changelog` - `git commits-since` - `git count` - `git create-branch` - `git delete-branch` - `git delete-submodule` - `git delete-tag` - `git fresh-branch` - `git graft` - `git alias` - `git ignore` - `git info` - `git release` - `git contrib` - `git repl` - `git undo` - `git gh-pages` - `git setup` - `git touch` - `git obliterate` - `git feature` - `git refactor` - `git bug` - `git promote` - `git local-commits` - `git archive-file` ## git-extras The main `git-extras` command. Output the current `--version`: ```bash $ git extras ``` List available commands: ```bash $ git extras --help ``` Update to the latest `git-extras`: ```bash $ git extras update ``` ## git-gh-pages Sets up the `gh-pages` branch. (See [GitHub Pages](http://pages.github.com/) documentation.) ## git-[feature|refactor|bug] [finish] <name> Create the given feature, refactor, or bug branch `name`: ```bash $ git feature dependencies ``` Afterwards, the same command will check it out: ```bash $ git checkout master $ git feature dependencies ``` When finished, we can `feature finish` to merge it into the current branch: ```bash $ git checkout master $ git feature finish dependencies ``` All of this works with `feature`, `bug`, or `refactor`. ## git-contrib <author> Output `author`'s contributions to a project: ```bash $ git contrib visionmedia visionmedia (18): Export STATUS_CODES Replaced several Array.prototype.slice.call() calls with Array.prototype.unshift.call() Moved help msg to node-repl Added multiple arg support for sys.puts(), print(), etc. Fix stack output on socket error ... ``` ## git-summary Outputs a repo summary: ```bash $ git summary project : git-extras repo age : 10 months ago commits : 163 active : 60 days files : 93 authors : 97 Tj Holowaychuk 59.5% 37 Jonhnny Weslley 22.7% 8 Kenneth Reitz 4.9% 5 Aggelos Orfanakos 3.1% 3 Jonathan "Duke" Leto 1.8% 2 Gert Van Gool 1.2% 2 Domenico Rotiroti 1.2% 2 Devin Withers 1.2% 2 TJ Holowaychuk 1.2% 1 Nick Campbell 0.6% 1 Alex McHale 0.6% 1 Jason Young 0.6% 1 Jens K. Mueller 0.6% 1 Guillermo Rauch 0.6% ``` This command can also take a *commitish*, and will print a summary for commits in the commmitish range: ```bash $ git summary v42.. ``` ## git-effort [file ....] Displays "effort" statistics, currently just the number of commits per file, showing highlighting where the most activity is. The "active days" column is the total number of days which contributed modifications to this file. ``` node (master): git effort --above 15 {src,lib}/* ``` ![git effort](http://f.cl.ly/items/0b0w0S2K1d100e2T1a0D/Screen%20Shot%202012-02-08%20at%206.43.34%20PM.png) If you wish to ignore files with commits `<=` a value you may use `--above`: ``` $ git effort --above 5 ``` By default `git ls-files` is used, however you may pass one or more files to `git-effort(1)`, for example: ``` $ git effort bin/* lib/* ``` ## git-repl GIT read-eval-print-loop: ```bash $ git repl git> ls-files History.md Makefile Readme.md bin/git-changelog bin/git-count bin/git-delete-branch bin/git-delete-tag bin/git-ignore bin/git-release git> quit ``` ## git-commits-since [date] List commits since `date` (defaults to "last week"): ```bash $ git commits-since ... changes since last week TJ Holowaychuk - Fixed readme TJ Holowaychuk - Added git-repl TJ Holowaychuk - Added git-delete-tag TJ Holowaychuk - Added git-delete-branch $ git commits-since yesterday ... changes since yesterday TJ Holowaychuk - Fixed readme ``` ## git-count Output commit count: ```bash $ git count total 1844 ``` Output detailed commit count: ```bash $ 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>: ```bash $ git release 0.1.0 ``` Does the following: - Executes _.git/hooks/pre-release.sh_ (if present) - Commits changes (to changelog etc) with message "Release <tag>" - Tags with the given <tag> - Push the branch / tags - Executes _.git/hooks/post-release.sh_ (if present) ## git-alias Define, search and show aliases. Define a new alias: ```bash $ git alias last "cat-file commit HEAD" ``` Search for aliases that match a pattern (one argument): ```bash $ git alias ^la last = cat-file commit HEAD ``` Show all aliases (no arguments): ```bash $ git alias s = status amend = commit --amend rank = shortlog -sn --no-merges whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short whois = !sh -c 'git log -i -1 --pretty="format:%an <%ae> ``` ## git-ignore [pattern ...] Too lazy to open up `.gitignore`? Me too! ```bash $ git ignore build "*.o" "*.log" ... added 'build' ... added '*.o' ... added '*.log' ``` Add patterns from an existing template: ```bash $ git ignore -t rails ``` Without any patterns, `git-ignore` displays currently ignored patterns: ```bash $ git ignore build *.o *.log ``` # git-info Show information about the repo: ```bash $ git info ## Remote URLs: origin git@github.com:sampleAuthor/git-extras.git (fetch) origin git@github.com:sampleAuthor/git-extras.git (push) ## Remote Branches: origin/HEAD -> origin/master origin/myBranch ## Local Branches: myBranch * master ## Most Recent Commit: commit e3952df2c172c6f3eb533d8d0b1a6c77250769a7 Author: Sample Author Added git-info command. Type 'git log' for more commits, or 'git show ' for full commit details. ## Configuration (.git/config): color.diff=auto color.status=auto color.branch=auto user.name=Sample Author user.email=sampleAuthor@gmail.com core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true core.ignorecase=true remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* remote.origin.url=git@github.com:mub/git-extras.git branch.master.remote=origin branch.master.merge=refs/heads/master ``` If you wish to omit the config section, you may use `--no-config`: ```bash $ git info --no-config ``` ## git-create-branch <name> Create local and remote branch `name`: ```bash $ git create-branch development ``` ## git-delete-branch <name> Delete local and remote branch `name`: ```bash $ git delete-branch integration ``` ## git-delete-submodule <name> Delete submodule `name`: ```bash $ git delete-submodule lib/foo ``` ## git-delete-tag <name> Delete local and remote tag `name`: ```bash $ git delete-tag 0.0.1 ``` ## git-fresh-branch <name> Create empty local branch `name`: ```bash $ git fresh-branch docs ``` ## git-graft <src-branch> [dest-branch] Merge commits from `src-branch` into `dest-branch`. (`dest-branch` defaults to `master`.) ```bash $ git graft new_feature dev $ git graft new_feature ``` ## git-squash <src-branch> [msg] Merge commits from `src-branch` into the current branch as a _single_ commit. When `[msg]` is given `git-commit(1)` will be invoked with that message. This is useful when small individual commits within a topic branch are irrelevant and you want to consider the topic as a single change. ```bash $ git squash fixed-cursor-styling $ git squash fixed-cursor-styling "Fixed cursor styling" ``` ## git-changelog Populate a file whose name matches `change|history -i_` with commits since the previous tag. (If there are no tags, populates commits since the project began.) Opens the changelog in `$EDITOR` when set. ```bash $ git changelog --tag 1.5.2 && cat History.md 1.5.2 / 2010-08-05 ================== * Docs for git-ignore. Closes #3 * Merge branch 'ignore' * Added git-ignore * Fixed in docs * Install docs * Merge branch 'release' * Added git-release * Passing args to git shortlog * Added --all support to git-count * Initial commit ``` List commits: ```bash $ git changelog --list * Docs for git-ignore. Closes #3 * Merge branch 'ignore' * Added git-ignore * Fixed in docs * Install docs * Merge branch 'release' * Added git-release * Passing args to git shortlog * Added --all support to git-count * Initial commit ``` ## git-undo Remove the latest commit: ```bash git undo ``` Remove the latest 3 commits: ```bash git undo 3 ``` ## git-setup [dir] Set up a git repository (if one doesn't exist), add all files, and make an initial commit. `dir` defaults to the current working directory. ## git-touch [filename] Call `touch` on the given file, and add it to the current index. One-step creation of new files. ## git-obliterate [filename] Completely remove a file from the repository, including past commits and tags. ```bash git obliterate secrets.json ``` ## git-local-commits List all commits on the local branch that have not yet been sent to origin. Any additional arguments will be passed directly to git log. ## git-archive-file Creates an zip archive of the current git repository. The name of the archive will depend on the current HEAD of your git respository. git-extras-1.9.0/bin/000077500000000000000000000000001216014334400143565ustar00rootroot00000000000000git-extras-1.9.0/bin/git-alias000077500000000000000000000002701216014334400161550ustar00rootroot00000000000000#!/bin/sh case $# in 0) git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /' | sort ;; 1) git alias | grep -e "$1" ;; *) git config --global "alias.$1" "$2" ;; esac git-extras-1.9.0/bin/git-archive-file000077500000000000000000000016631216014334400174310ustar00rootroot00000000000000#!/bin/bash # extract current branch name BRANCH=$(git name-rev HEAD 2> /dev/null | awk "{ print \$2 }") # get name of the most top folder of current directory, used for the # output filename ARCHIVE_NAME=$(basename $(pwd)) if [[ $BRANCH = tags* ]]; then BRANCH=$(git describe) echo Building for tag \"$BRANCH\" FILENAME=$ARCHIVE_NAME.$BRANCH.zip else echo Building archive on branch \"$BRANCH\" # get a version string, so archives will not be overwritten when creating # many of them VERSION=$(git describe --always --long) # if not on master append branch name into the filename if [ "$BRANCH" = "master" ]; then FILENAME=$ARCHIVE_NAME.$VERSION.zip else FILENAME=$ARCHIVE_NAME.$VERSION.$BRANCH.zip fi fi # combine path and filename OUTPUT=$(pwd)/$FILENAME # building archive git archive --format zip --output $OUTPUT $BRANCH # also display size of the resulting file echo Saved to \"$FILENAME\" \(`du -h $OUTPUT | cut -f1`\)git-extras-1.9.0/bin/git-back000077500000000000000000000002741216014334400157700ustar00rootroot00000000000000#!/bin/sh if test $# -eq 0; then git reset --soft HEAD~1 else if `echo $1 | grep -q [^[:digit:]]`; then echo "$1 is not a number" 1>&2 else git reset --soft HEAD~$1 fi fi git-extras-1.9.0/bin/git-bug000077500000000000000000000004421216014334400156420ustar00rootroot00000000000000#!/bin/sh if test "$1" = "finish"; then test -z $2 && echo "bug required." 1>&2 && exit 1 branch=bug/$2 git merge --no-ff $branch && git delete-branch $branch else test -z $1 && echo "bug required." && exit 1 branch=bug/$1 git checkout -b $branch &> /dev/null fi git-extras-1.9.0/bin/git-changelog000077500000000000000000000016031216014334400170140ustar00rootroot00000000000000#!/bin/sh FILE="" LIST=false TAG="n.n.n" while [ "$1" != "" ]; do case $1 in -l | --list ) LIST=true ;; -t | --tag ) TAG=$2 shift ;; * ) FILE=$1 ;; esac shift done DATE=`date +'%Y-%m-%d'` HEAD="\n$TAG / $DATE \n==================\n\n" if $LIST; then version=$(git describe --tags --abbrev=0 $(git rev-list --tags --max-count=1)) if test -z "$version"; then git log --pretty="format: * %s" else git log --pretty="format: * %s" $version.. fi exit fi CHANGELOG=$FILE if test "$CHANGELOG" = ""; then CHANGELOG=`ls | egrep 'change|history' -i` if test "$CHANGELOG" = ""; then CHANGELOG='History.md'; fi fi tmp="/tmp/changelog" printf "$HEAD" > $tmp git-changelog --list >> $tmp printf '\n' >> $tmp if [ -f $CHANGELOG ]; then cat $CHANGELOG >> $tmp; fi mv $tmp $CHANGELOG test -n "$EDITOR" && $EDITOR $CHANGELOG git-extras-1.9.0/bin/git-commits-since000077500000000000000000000002121216014334400176320ustar00rootroot00000000000000#!/bin/sh SINCE="last week" test $# -ne 0 && SINCE=$@ echo "... commits since $SINCE" >&2 git log --pretty='%an - %s' --after="@{$SINCE}"git-extras-1.9.0/bin/git-contrib000077500000000000000000000004041216014334400165230ustar00rootroot00000000000000#!/bin/sh user="$*" test -z "$user" && echo "user name required." 1>&2 && exit 1 count=`git log --oneline --pretty="format: %an" | grep "$user" | wc -l` test $count -eq 0 && echo "$user did not contribute." && exit 1 git shortlog | grep "$user (" -A $count git-extras-1.9.0/bin/git-count000077500000000000000000000002461216014334400162170ustar00rootroot00000000000000#!/bin/sh if test "$1" = "--all"; then git shortlog -n -s $@ | awk '{print substr($0,index($0,$2)) " (" $1 ")"}' echo fi echo total `git rev-list --count HEAD` git-extras-1.9.0/bin/git-create-branch000077500000000000000000000003031216014334400175570ustar00rootroot00000000000000#!/bin/sh branch=$1 test -z $branch && echo "branch required." 1>&2 && exit 1 git push origin origin:refs/heads/$branch git fetch origin git checkout --track -b $branch origin/$branch git pull git-extras-1.9.0/bin/git-delete-branch000077500000000000000000000002511216014334400175600ustar00rootroot00000000000000#!/bin/sh branch=$1 test -z $branch && echo "branch required." 1>&2 && exit 1 git branch -D $branch git branch -d -r origin/$branch git push origin :refs/heads/$branch git-extras-1.9.0/bin/git-delete-merged-branches000077500000000000000000000011761216014334400213600ustar00rootroot00000000000000#!/bin/sh delete_all="no" current_branch=`git rev-parse --symbolic-full-name --abbrev-ref HEAD` test "$1" = "-f" -o "$1" = "--force" && delete_all="yes" git for-each-ref --shell --format="branch=%(refname:short)" refs/heads | \ while read entry do eval "$entry" merged=`git rev-list -n 1 $branch --not HEAD | wc -l` if [ "$merged" = "0" -a "$branch" != "master" -a "$branch" != "$current_branch" ]; then if [ "$delete_all" = "no" ]; then read -p "Delete merged branch $branch? [y/n/a] " yna < /dev/tty test "$yna" = "a" && delete_all="yes" fi test "$yna" = "y" -o "$delete_all" = "yes" && git branch -D $branch fi done git-extras-1.9.0/bin/git-delete-submodule000077500000000000000000000006701216014334400203270ustar00rootroot00000000000000#!/bin/sh submodule=$1 test -z $submodule && echo "submodule required" 1>&2 && exit 1 test ! -f .gitmodules && echo ".gitmodules file not found" 1>&2 && exit 2 NAME=$(echo $submodule | sed 's/\/$//g') test -z $(git config --file=.gitmodules submodule.$NAME.url) && echo "submodule not found" 1>&2 && exit 3 git config --remove-section submodule.$NAME git config --file=.gitmodules --remove-section submodule.$NAME git rm --cached $NAME git-extras-1.9.0/bin/git-delete-tag000077500000000000000000000002061216014334400170760ustar00rootroot00000000000000#!/bin/sh tagname=$1 test -z $tagname && echo "tag required." 1>&2 && exit 1 git tag -d $tagname git push origin :refs/tags/$tagname git-extras-1.9.0/bin/git-effort000077500000000000000000000034531216014334400163570ustar00rootroot00000000000000#!/bin/bash tmp=/tmp/.git-effort above='0' color= # # get date for the given # date() { git log --pretty='format: %ai' $1 | cut -d ' ' -f 2 } # # hide cursor # hide_cursor() { printf '\033[?25l' } # # show cursor # show_cursor() { printf '\033[?25h' printf '\033[m\n' exit 1 } # # get active days for the given # active_days() { date $1 | uniq | awk ' { sum += 1 } END { print sum } ' } # # set 'color' based on the given # color_for() { test $1 -gt 10 && color='33' test $1 -gt 25 && color='33;1' test $1 -gt 50 && color='93' test $1 -gt 75 && color='93;1' test $1 -gt 100 && color='31' test $1 -gt 125 && color='31;1' test $1 -gt 150 && color='91' test $1 -gt 200 && color='91;1' } # # compute the effort of the given # effort() { for file in $@; do commits=`git log --oneline $file | wc -l` color='90' # ignore <= --above test $commits -le $above && continue # commits color_for $commits len=${#file} dot="." f_dot=$file i=0 ; while test $i -lt $((45-$len)) ; do f_dot=$f_dot$dot i=$(($i+1)) done printf " \033[${color}m%s %-10d" $f_dot $commits # active days active=`active_days $file` color_for $active printf "\033[${color}m %d\033[0m\n" $active done } # # print heading # heading() { echo printf " %-45s %-10s %s\n" 'file' 'commits' 'active days' echo } # # output sorted results # sort_effort() { clear echo heading cat $tmp | sort -rn -k 2 } # --above if test "$1" = "--above"; then shift; above=$1 shift fi # [file ...] if test $# -ge 1; then files=$@ else files=`git ls-files` fi # hide cursor hide_cursor trap show_cursor INT # loop files heading effort $files | tee $tmp && sort_effort echo show_cursor git-extras-1.9.0/bin/git-extras000077500000000000000000000010071216014334400163710ustar00rootroot00000000000000#!/bin/sh VERSION="1.9.0" update() { local bin=$(which git-extras) local prefix=${bin%/*/*} local orig=$PWD cd /tmp \ && rm -fr ./git-extras \ && git clone --depth 1 https://github.com/visionmedia/git-extras.git \ && cd git-extras \ && PREFIX="$prefix" 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 git-extras-1.9.0/bin/git-feature000077500000000000000000000004671216014334400165270ustar00rootroot00000000000000#!/bin/sh if test "$1" = "finish"; then test -z $2 && echo "feature required." 1>&2 && exit 1 branch=feature/$2 git merge --no-ff $branch && git delete-branch $branch else test -z $1 && echo "feature required." 1>&2 && exit 1 branch=feature/$1 git checkout -b $branch &> /dev/null fi git-extras-1.9.0/bin/git-fresh-branch000077500000000000000000000002271216014334400174300ustar00rootroot00000000000000#!/bin/sh branch=$1 test -z $branch && echo "branch required." 1>&2 && exit 1 git symbolic-ref HEAD refs/heads/$branch rm .git/index git clean -fdx git-extras-1.9.0/bin/git-gh-pages000077500000000000000000000004521216014334400165610ustar00rootroot00000000000000#!/bin/sh echo 'setting up gh-pages' git symbolic-ref HEAD refs/heads/gh-pages \ && rm .git/index \ && git clean -fdx \ && echo 'My Page' > index.html \ && git add . \ && git commit -a -m 'Initial commit' \ && git push -u origin gh-pages \ && git fetch origin \ && echo 'complete' git-extras-1.9.0/bin/git-graft000077500000000000000000000002431216014334400161670ustar00rootroot00000000000000#!/bin/sh src=$1 dst=$2 test -z $src && echo "source branch required." 1>&2 && exit 1 git checkout $dst \ && git merge --no-ff $src \ && git branch -d $src git-extras-1.9.0/bin/git-ignore000077500000000000000000000016741216014334400163600ustar00rootroot00000000000000#!/bin/bash function show_contents { test -f "$2" && echo "$1 gitignore: $2" && cat "$2" } function show_global { show_contents Global `git config --global core.excludesfile` } function add_global { add_patterns `git config --global core.excludesfile` "$@" } function show_local { show_contents Local .gitignore } function add_local { add_patterns .gitignore "$@" } function add_patterns { echo "Adding pattern(s) to: $1" for pattern in "${@:2}"; do echo "... adding '$pattern'" (test -f "$1" && test "$pattern" && grep -q "$pattern" "$1") || echo "$pattern" >> "$1" done } if test $# -eq 0; then show_global echo "---------------------------------" show_local else case "$1" in -l|--local) test $# -gt 1 && add_local "${@:2}" && echo show_local ;; -g|--global) test $# -gt 1 && add_global "${@:2}" && echo show_global ;; *) add_local "$@" ;; esac fi git-extras-1.9.0/bin/git-info000077500000000000000000000012531216014334400160210ustar00rootroot00000000000000#!/bin/sh get_config() { git config --list } most_recent_commit() { git log --max-count=1 --pretty=short } local_branches() { git branch } remote_branches() { git branch -r } remote_urls() { git remote -v } # Show info similar to svn echo echo "## Remote URLs:\n" echo "$(remote_urls)\n" echo "## Remote Branches:\n" echo "$(remote_branches)\n" echo "## Local Branches:\n" echo "$(local_branches)\n" echo "## Most Recent Commit:\n" echo "$(most_recent_commit)\n" echo "Type 'git log' for more commits, or 'git show ' for full commit details.\n" if test "$1" != "--no-config"; then echo "## Configuration (.git/config):\n" echo "$(get_config)\n" figit-extras-1.9.0/bin/git-line-summary000077500000000000000000000015531216014334400175130ustar00rootroot00000000000000#!/bin/bash project=${PWD##*/} # # list the last modified author for each line # function single_file { while read data do if [[ $(file $data) = *text ]]; then # git blame --line-porcelain $data | sed -n 's/^author //p'; fi done } # # list the author for all file # function lines { git ls-files | single_file } # # count the line count # function count { lines | wc -l } # # sort by author modified lines # function authors { lines | sort | uniq -c | sort -rn } # # list as percentage for author modified lines # function result { authors | awk ' { args[NR] = $0; sum += $0 } END { printf " %-9s: %i\n", "lines", sum printf " %-9s: \n", "authors" for (i = 1; i <= NR; ++i) { printf " %-30s %2.1f%%\n", args[i], 100 * args[i] / sum } } ' } # summary echo echo " project : $project" result echo git-extras-1.9.0/bin/git-local-commits000077500000000000000000000001521216014334400176260ustar00rootroot00000000000000#!/bin/sh ref=$(git symbolic-ref HEAD) branch=${ref#refs/heads/} git log origin/${branch}..${branch} $* git-extras-1.9.0/bin/git-obliterate000077500000000000000000000002731216014334400172210ustar00rootroot00000000000000file=$1 test -z $file && echo "file required." 1>&2 && exit 1 git filter-branch -f --index-filter "git rm -r --cached $file --ignore-unmatch" --prune-empty --tag-name-filter cat -- --all git-extras-1.9.0/bin/git-pull-request000077500000000000000000000015611216014334400175320ustar00rootroot00000000000000#!/usr/bin/env bash # # Echo and exit # abort() { echo $@ exit 1 } # # Produce json with , <body>, and <head> # json() { cat <<EOF { "title": "$1", "body": "$2", "head": "$3", "base": "master" } EOF } # user user=$(git config --global user.email) test -z "$user" && abort "git config user.email required" # branch branch=${1-$(git symbolic-ref HEAD | sed 's/refs\/heads\///')} # make sure it's pushed git push origin $branch || abort "failed to push $branch" # lame hack to get project project=$(git config remote.origin.url | sed 's/^.*://' | sed 's/\.git$//') # prompt echo echo " create pull-request for $project '$branch'" echo printf " title: " && read title printf " body: " && read body echo # create pull request body=$(json "$title" "$body" $branch) curl -u "$user" "https://api.github.com/repos/$project/pulls" -d "$body" �����������������������������������������������������������������������������������������������������������������������������������������������git-extras-1.9.0/bin/git-refactor�������������������������������������������������������������������0000775�0000000�0000000�00000000473�12160143344�0016676�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh if test "$1" = "finish"; then test -z $2 && echo "refactor <name> required." 1>&2 && exit 1 branch=refactor/$2 git merge --no-ff $branch && git delete-branch $branch else test -z $1 && echo "refactor <name> required." 1>&2 && exit 1 branch=refactor/$1 git checkout -b $branch &> /dev/null fi �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������git-extras-1.9.0/bin/git-release��������������������������������������������������������������������0000775�0000000�0000000�00000000623�12160143344�0016506�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/usr/bin/env sh hook() { local hook=.git/hooks/$1.sh if test -f $hook; then echo "... $1" . $hook fi } if test $# -gt 0; then hook pre-release echo "... releasing $1" git commit -a -m "Release $1" git tag $1 -a -m "Release $1" \ && git push $2 \ && git push $2 --tags \ && hook post-release \ && echo "... complete" else echo "tag required" 1>&2 && exit 1 fi �������������������������������������������������������������������������������������������������������������git-extras-1.9.0/bin/git-rename-tag�����������������������������������������������������������������0000775�0000000�0000000�00000000352�12160143344�0017105�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh old=$1 new=$2 test -z $old && echo "old tag name required." 1>&2 && exit 1 test -z $new && echo "new tag name required." 1>&2 && exit 1 git tag $new $old git tag -d $old git push origin $new git push origin :refs/tag/$old��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������git-extras-1.9.0/bin/git-repl�����������������������������������������������������������������������0000775�0000000�0000000�00000001052�12160143344�0016025�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/bash while true; do # Current branch cur=`git symbolic-ref HEAD 2> /dev/null | cut -d/ -f3-` # Prompt if test -n "$cur"; then prompt="git ($cur)> " else prompt="git> " fi # Readline read -e -r -p "$prompt" cmd # EOF test $? -ne 0 && break # History history -s "$cmd" # Built-in commands case $cmd in ls) cmd=ls-files;; "") continue;; quit) break;; esac if [[ $cmd == !* ]]; then eval ${cmd:1} elif [[ $cmd == git* ]]; then eval $cmd else eval git "$cmd" fi done echo ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������git-extras-1.9.0/bin/git-setup����������������������������������������������������������������������0000775�0000000�0000000�00000000240�12160143344�0016221�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh dir=$(test -z "$*" && echo "." || echo "$*") mkdir -p "$dir" \ && cd "$dir" \ && git init \ && git add . \ && git commit -m 'Initial commit' ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������git-extras-1.9.0/bin/git-show-tree������������������������������������������������������������������0000775�0000000�0000000�00000000117�12160143344�0017001�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh git log --all --graph --decorate --oneline --simplify-by-decoration �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������git-extras-1.9.0/bin/git-squash���������������������������������������������������������������������0000775�0000000�0000000�00000001216�12160143344�0016371�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh src=$1 msg=$2 test -z $src && echo "source branch required, or use --me." && exit 1 # squash current branch # TODO: do this in a less hacky way # TODO: less sketchy arguments if [[ $1 == "--me" ]]; then msg=$3 branch=`git rev-parse --abbrev-ref HEAD` # merge against target branch or master git checkout ${2-master} git checkout -B squash-tmp git squash $branch git branch -D $branch git checkout -B $branch git branch -D squash-tmp if test -n "$msg"; then git commit -a -m "$msg" fi exit fi # squash $src git merge --squash $src if test -n "$msg"; then git commit -a -m "$msg" && git branch -D $src fi ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������git-extras-1.9.0/bin/git-summary��������������������������������������������������������������������0000775�0000000�0000000�00000002116�12160143344�0016562�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh commit="" test $# -ne 0 && commit=$@ project=${PWD##*/} # # get date for the given <commit> # date() { git log --pretty='format: %ai' $1 | cut -d ' ' -f 2 } # # get active days for the given <commit> # active_days() { date $1 | uniq | awk ' { sum += 1 } END { print sum } ' } # # get the commit total # commit_count() { git log --oneline $commit | wc -l | tr -d ' ' } # # total file count # file_count() { git ls-files | wc -l | tr -d ' ' } # # list authors # authors() { git shortlog -n -s $commit | awk ' { args[NR] = $0; sum += $0 } END { for (i = 1; i <= NR; ++i) { printf "%-30s %2.1f%%\n", args[i], 100 * args[i] / sum } } ' } # # fetch repository age from oldest commit # repository_age() { git log --reverse --pretty=oneline --format="%ar" | head -n 1 | sed 's/ago//' } # summary echo echo " project : $project" echo " repo age :" $(repository_age) echo " active :" $(active_days) days echo " commits :" $(commit_count) if test "$commit" = ""; then echo " files :" $(file_count) fi echo " authors : " authors echo ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������git-extras-1.9.0/bin/git-touch����������������������������������������������������������������������0000775�0000000�0000000�00000000207�12160143344�0016206�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh filename="$*" test -z "$filename" && echo "filename required" 1>&2 && exit 1 touch "$filename" \ && git add "$filename" �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������git-extras-1.9.0/bin/git-undo�����������������������������������������������������������������������0000775�0000000�0000000�00000000476�12160143344�0016041�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh back="^" case "$1" in -h|--hard) test $2 -gt 1 > /dev/null 2>&1 && back="~$2" git reset --hard HEAD$back && exit 0; ;; -s|--soft) test $2 -gt 1 > /dev/null 2>&1 && back="~$2" ;; *) test $1 -gt 1 > /dev/null 2>&1 && back="~$1" ;; esac git reset --soft HEAD$back git reset ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������git-extras-1.9.0/etc/�������������������������������������������������������������������������������0000775�0000000�0000000�00000000000�12160143344�0014361�5����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������git-extras-1.9.0/etc/bash_completion.sh�������������������������������������������������������������0000664�0000000�0000000�00000002021�12160143344�0020056�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# bash completion support for git-extras. _git_bug(){ __git_extras_workflow "bug" } _git_changelog(){ __gitcomp "-l -t --list --tag" } _git_contrib(){ __gitcomp "$(git shortlog -s | cut -f2)" # TODO buggy if author's name contains whitespaces :( } _git_count(){ __gitcomp "--all" } _git_delete_branch(){ __gitcomp "$(__git_heads)" } _git_delete_submodule(){ __gitcomp "$(git submodule status | awk '{print $2}')" } _git_delete_tag(){ __gitcomp "$(__git_tags)" } _git_extras(){ __gitcomp "--version update" } __git_extras_workflow(){ __gitcomp "$(__git_heads | grep ^$1/ | sed s/^$1\\///g) finish" } _git_feature(){ __git_extras_workflow "feature" } _git_graft(){ __gitcomp "$(__git_heads)" } _git_ignore(){ case "$cur" in --*) __gitcomp "--global --local" return ;; -*) __gitcomp "--global --local -g -l" return ;; esac } _git_refactor(){ __git_extras_workflow "refactor" } _git_squash(){ __gitcomp "$(__git_heads)" } _git_undo(){ __gitcomp "--hard --soft -h -s" } ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������git-extras-1.9.0/man/�������������������������������������������������������������������������������0000775�0000000�0000000�00000000000�12160143344�0014361�5����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������git-extras-1.9.0/man/Readme.md����������������������������������������������������������������������0000664�0000000�0000000�00000002635�12160143344�0016106�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������How to generate documentation: ================================ ## DESCRIPTION To generate documentation: 1) Start by filling out the 'man-template.md' 2) Then use a program ronn. Get ronn from github. 3) Run ronn: $ronn <filename>.md 4) Remember, we use the following naming convention for files: git-<command>.html git-<command>.1 git-<command>.md You'll need to rename the html file, as ronn probably inserted a 1 into the filename. ## EXAMPLE $ ronn git-effort.md roff: ./git-effort.1 html: ./git-effort.1.html +man $mv git-effort.1.html git-effort.html ## SHELL SCRIPT Alternatively you can run the `manning-up.sh` automated shell script included in the man folder. The script will recreate the git-extras index based on the list of .md files available before it runs `ronn` against each one to generate the documents as well as renaming the generated `.html` files to their desired form. $ ./manning-up.sh To only (re)generate a specific .md manual template and have `.1.html` renamed to `.html` yau may also use manning-up.sh. $ ./manning-up.sh git-info.md ## AUTHOR Written by Leila Muhtasib <<muhtasib@gmail.com>> Shell Script by Nick Lombard <<github@jigsoft.co.za>> ## REPORTING BUGS <<https://github.com/visionmedia/git-extras/issues>> ## SEE ALSO <<https://github.com/visionmedia/git-extras>> ���������������������������������������������������������������������������������������������������git-extras-1.9.0/man/git-alias.1��������������������������������������������������������������������0000664�0000000�0000000�00000002446�12160143344�0016323�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-ALIAS" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-alias\fR \- Define, search and show aliases . .SH "SYNOPSIS" \fBgit\-alias\fR [<alias\-name> <command>]|[<search\-term>] . .SH "DESCRIPTION" . .SH "OPTIONS" <alias\-name> . .P The name of the alias to create\. . .P <command> . .P The command for which you are creating an alias\. . .P <search\-term> . .P The pattern used for search aliases\. . .SH "EXAMPLES" Defining a new alias: . .IP "" 4 . .nf $ git alias last "cat\-file commit HEAD" . .fi . .IP "" 0 . .P Providing only one argument, \fBgit\-alias\fR searchs for aliases matching the given value: . .IP "" 4 . .nf $ git alias ^la last = cat\-file commit HEAD . .fi . .IP "" 0 . .P \fBgit\-alias\fR will show all aliases if no argument is given: . .IP "" 4 . .nf $ git alias s = status amend = commit \-\-amend rank = shortlog \-sn \-\-no\-merges whatis = show \-s \-\-pretty=\'tformat:%h (%s, %ad)\' \-\-date=short whois = !sh \-c \'git log \-i \-1 \-\-pretty="format:%an <%ae> . .fi . .IP "" 0 . .SH "AUTHOR" Written by Jonhnny Weslley <\fIjw@jonhnnyweslley\.net\fR> . .SH "REPORTING BUGS" <\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttp://github\.com/visionmedia/git\-extras\fR> ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������git-extras-1.9.0/man/git-alias.html�����������������������������������������������������������������0000664�0000000�0000000�00000011574�12160143344�0017131�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<!DOCTYPE html> <html> <head> <meta http-equiv='content-type' value='text/html;charset=utf8'> <meta name='generator' value='Ronn/v0.7.3 (https://github.com/rtomayko/ronn/tree/0.7.3)'> <title>git-alias(1) - Define, search and show aliases
  1. git-alias(1)
  2. git-alias(1)

NAME

git-alias - Define, search and show aliases

SYNOPSIS

git-alias [<alias-name> <command>]|[<search-term>]

DESCRIPTION

OPTIONS

<alias-name>

The name of the alias to create.

<command>

The command for which you are creating an alias.

<search-term>

The pattern used for search aliases.

EXAMPLES

Defining a new alias:

$ git alias last "cat-file commit HEAD"

Providing only one argument, git-alias searchs for aliases matching the given value:

$ git alias ^la
last = cat-file commit HEAD

git-alias will show all aliases if no argument is given:

$ git alias
s = status
amend = commit --amend
rank = shortlog -sn --no-merges
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
whois = !sh -c 'git log -i -1 --pretty="format:%an <%ae>

AUTHOR

Written by Jonhnny Weslley <jw@jonhnnyweslley.net>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-alias(1)
git-extras-1.9.0/man/git-alias.md000066400000000000000000000021461216014334400165600ustar00rootroot00000000000000git-alias(1) -- Define, search and show aliases =============================================== ## SYNOPSIS `git-alias` [<alias-name> <command>]|[<search-term>] ## DESCRIPTION ## OPTIONS <alias-name> The name of the alias to create. <command> The command for which you are creating an alias. <search-term> The pattern used for search aliases. ## EXAMPLES Defining a new alias: $ git alias last "cat-file commit HEAD" Providing only one argument, `git-alias` searchs for aliases matching the given value: $ git alias ^la last = cat-file commit HEAD `git-alias` will show all aliases if no argument is given: $ git alias s = status amend = commit --amend rank = shortlog -sn --no-merges whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short whois = !sh -c 'git log -i -1 --pretty="format:%an <%ae> ## AUTHOR Written by Jonhnny Weslley <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-archive-file.1000066400000000000000000000016521216014334400175660ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-ARCHIVE\-FILE" "1" "February 2013" "" "Git Extras" . .SH "NAME" \fBgit\-archive\-file\fR \- Export the current HEAD of the git repository to a archive . .SH "SYNOPSIS" \fBgit\-archive\-file\fR . .SH "DESCRIPTION" Export the current HEAD of the repository into a archive with a identifiable and unique name\. . .SH "OPTIONS" This command does not take any options\. . .SH "EXAMPLES" Archive naming conventions: . .P On any branch: \fBgit\-extras\.1\.7\.0\-110\-gafefba7\.branch\-name\.zip\fR . .P On master branch: \fBgit\-extras\.1\.7\.0\-110\-gafefba7\.zip\fR . .P On a detached HEAD (e\.g\. a tag): \fBgit\-extras\.1\.7\.0\.zip\fR . .SH "AUTHOR" Written by Philipp Klose <\fIme@thehippo\.de\fR> . .SH "REPORTING BUGS" <\fIhttps://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttps://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-archive-file.html000066400000000000000000000107141216014334400203710ustar00rootroot00000000000000 git-archive-file(1) - Export the current HEAD of the git repository to a archive
  1. git-archive-file(1)
  2. Git Extras
  3. git-archive-file(1)

NAME

git-archive-file - Export the current HEAD of the git repository to a archive

SYNOPSIS

git-archive-file

DESCRIPTION

Export the current HEAD of the repository into a archive with a identifiable and unique name.

OPTIONS

This command does not take any options.

EXAMPLES

Archive naming conventions:

On any branch: git-extras.1.7.0-110-gafefba7.branch-name.zip

On master branch: git-extras.1.7.0-110-gafefba7.zip

On a detached HEAD (e.g. a tag): git-extras.1.7.0.zip

AUTHOR

Written by Philipp Klose <me@thehippo.de>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. February 2013
  2. git-archive-file(1)
git-extras-1.9.0/man/git-archive-file.md000066400000000000000000000013621216014334400200240ustar00rootroot00000000000000git-archive-file(1) -- Export the current HEAD of the git repository to a archive =============================================== ## SYNOPSIS `git-archive-file` ## DESCRIPTION Export the current HEAD of the repository into a archive with a identifiable and unique name. ## OPTIONS This command does not take any options. ## EXAMPLES Archive naming conventions: On any branch: `git-extras.1.7.0-110-gafefba7.branch-name.zip` On master branch: `git-extras.1.7.0-110-gafefba7.zip` On a detached HEAD (e.g. a tag): `git-extras.1.7.0.zip` ## AUTHOR Written by Philipp Klose <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-back.1000066400000000000000000000015001216014334400161200ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-BACK" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-back\fR \- Undo and Stage latest commits . .SH "SYNOPSIS" \fBgit\-back\fR [] . .SH "DESCRIPTION" Removes the latest commits, and add their changes to your staging area\. . .SH "OPTIONS" . .P Number of commits to remove\. Defaults to \fI1\fR, thus remove the latest commit\. . .SH "EXAMPLES" Removes the latest commit\. . .IP "" 4 . .nf $ git back . .fi . .IP "" 0 . .P Remove the latest 3 commits: . .IP "" 4 . .nf $ git back 3 . .fi . .IP "" 0 . .SH "AUTHOR" Written by Kenneth Reitz <\fIme@kennethreitz\.com\fR> . .SH "REPORTING BUGS" <\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttp://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-back.html000066400000000000000000000105531216014334400167340ustar00rootroot00000000000000 git-back(1) - Undo and Stage latest commits
  1. git-back(1)
  2. git-back(1)

NAME

git-back - Undo and Stage latest commits

SYNOPSIS

git-back [<commitcount>]

DESCRIPTION

Removes the latest commits, and add their changes to your staging area.

OPTIONS

<commitcount>

Number of commits to remove. Defaults to 1, thus remove the latest commit.

EXAMPLES

Removes the latest commit.

$ git back

Remove the latest 3 commits:

$ git back 3

AUTHOR

Written by Kenneth Reitz <me@kennethreitz.com>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-back(1)
git-extras-1.9.0/man/git-back.md000066400000000000000000000012301216014334400163600ustar00rootroot00000000000000git-back(1) -- Undo and Stage latest commits ============================================ ## SYNOPSIS `git-back` [<commitcount>] ## DESCRIPTION Removes the latest commits, and add their changes to your staging area. ## OPTIONS <commitcount> Number of commits to remove. Defaults to *1*, thus remove the latest commit. ## EXAMPLES Removes the latest commit. $ git back Remove the latest 3 commits: $ git back 3 ## AUTHOR Written by Kenneth Reitz <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-bug.1000066400000000000000000000013431216014334400160020ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-BUG" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-bug\fR \- Create bug branch . .SH "SYNOPSIS" \fBgit\-bug\fR [finish] . .SH "DESCRIPTION" Create the given bug branch . .SH "OPTIONS" . .P Merge and delete the bug branch\. . .P . .P The name of the bug branch\. . .SH "EXAMPLES" . .nf $ git bug bug\-123456 \.\.\. $ git commit \-m "Some changes" \.\.\. $ git checkout master $ git bug finish bug\-123456 . .fi . .SH "AUTHOR" Written by Jesús Espino <\fIjespinog@gmail\.com\fR> . .SH "REPORTING BUGS" <\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttp://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-bug.html000066400000000000000000000104061216014334400166060ustar00rootroot00000000000000 git-bug(1) - Create bug branch
  1. git-bug(1)
  2. git-bug(1)

NAME

git-bug - Create bug branch

SYNOPSIS

git-bug [finish] <name>

DESCRIPTION

Create the given bug branch

OPTIONS

<finish>

Merge and delete the bug branch.

<name>

The name of the bug branch.

EXAMPLES

$ git bug bug-123456
...
$ git commit -m "Some changes"
...
$ git checkout master
$ git bug finish bug-123456

AUTHOR

Written by Jesús Espino <jespinog@gmail.com>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-bug(1)
git-extras-1.9.0/man/git-bug.md000066400000000000000000000011651216014334400162440ustar00rootroot00000000000000git-bug(1) -- Create bug branch =============================== ## SYNOPSIS `git-bug` [finish] <name> ## DESCRIPTION Create the given bug branch ## OPTIONS <finish> Merge and delete the bug branch. <name> The name of the bug branch. ## EXAMPLES $ git bug bug-123456 ... $ git commit -m "Some changes" ... $ git checkout master $ git bug finish bug-123456 ## AUTHOR Written by Jesús Espino <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-changelog.1000066400000000000000000000024701216014334400171560ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-CHANGELOG" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-changelog\fR \- Generate the changelog report . .SH "SYNOPSIS" \fBgit\-changelog\fR [\-l, \-\-list] . .SH "DESCRIPTION" Populates the file named matching \fIchange|history \-i\fR with the commits since the previous tag or since the project began when no tags are present\. Opens the changelog in \fB$EDITOR\fR when set\. . .SH "OPTIONS" \-l, \-\-list . .P Show commit logs from the current version\. . .SH "EXAMPLES" . .IP "\(bu" 4 Updating changelog file: . .IP $ git changelog . .IP "\(bu" 4 Listing commits from the current version: . .IP $ git changelog \-\-list . .IP "\(bu" 4 Docs for git\-ignore\. Closes #3 . .IP "\(bu" 4 Merge branch \'ignore\' . .IP "\(bu" 4 Added git\-ignore . .IP "\(bu" 4 Fixed in docs . .IP "\(bu" 4 Install docs . .IP "\(bu" 4 Merge branch \'release\' . .IP "\(bu" 4 Added git\-release . .IP "\(bu" 4 Passing args to git shortlog . .IP "\(bu" 4 Added \-\-all support to git\-count . .IP "\(bu" 4 Initial commit . .IP "" 0 . .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> git-extras-1.9.0/man/git-changelog.html000066400000000000000000000114461216014334400177650ustar00rootroot00000000000000 git-changelog(1) - Generate the changelog report
  1. git-changelog(1)
  2. git-changelog(1)

NAME

git-changelog - Generate the changelog report

SYNOPSIS

git-changelog [-l, --list]

DESCRIPTION

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.

OPTIONS

-l, --list

Show commit logs from the current version.

EXAMPLES

  • Updating changelog file:

    $ git changelog

  • Listing commits from the current version:

    $ 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

AUTHOR

Written by Tj Holowaychuk <tj@vision-media.ca>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-changelog(1)
git-extras-1.9.0/man/git-changelog.md000066400000000000000000000020511216014334400174110ustar00rootroot00000000000000git-changelog(1) -- Generate the changelog report ================================================= ## SYNOPSIS `git-changelog` [-l, --list] ## DESCRIPTION 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. ## OPTIONS -l, --list Show commit logs from the current version. ## EXAMPLES * Updating changelog file: $ git changelog * Listing commits from the current version: $ 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 ## AUTHOR Written by Tj Holowaychuk <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-commits-since.1000066400000000000000000000027661216014334400200110ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-COMMITS\-SINCE" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-commits\-since\fR \- Show commit logs since some date . .SH "SYNOPSIS" \fBgit\-commits\-since\fR [] . .SH "DESCRIPTION" List of commits since the given \fIdate\fR\. . .SH "OPTIONS" . .P Show commits more recent than \fIdate\fR\. By default, the command shows the commit logs since "last week"\. . .SH "EXAMPLES" It is really flexible and these are only 3 of the options, go ahead give it a try: . .IP "" 4 . .nf $ git commits\-since yesterday \.\.\. commits since yesterday nickl\- \- Merge branch upstream master\. nickl\- \- Rebase bolshakov with master TJ Holowaychuk \- Merge pull request #128 from nickl\-/git\-extras\-html\-hyperlinks TJ Holowaychuk \- Merge pull request #129 from nickl\-/develop nickl\- \- Fix #127 git\-ignore won\'t add duplicates\. $ git commits\-since 3 o clock pm \.\.\. commits since 3 o clock pm nickl\- \- Merge branch upstream master\. $ git commits\-since 2 hour ago \.\.\. commits since 2 hour ago nickl\- \- Merge branch upstream master\. TJ Holowaychuk \- Merge pull request #128 from nickl\-/git\-extras\-html\-hyperlinks TJ Holowaychuk \- Merge pull request #129 from nickl\-/develop . .fi . .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> git-extras-1.9.0/man/git-commits-since.html000066400000000000000000000120151216014334400206010ustar00rootroot00000000000000 git-commits-since(1) - Show commit logs since some date
  1. git-commits-since(1)
  2. git-commits-since(1)

NAME

git-commits-since - Show commit logs since some date

SYNOPSIS

git-commits-since [<date>]

DESCRIPTION

List of commits since the given date.

OPTIONS

<date>

Show commits more recent than date. By default, the command shows the commit logs since "last week".

EXAMPLES

It is really flexible and these are only 3 of the options, go ahead give it a try:

$ git commits-since yesterday
... commits since yesterday
nickl- - Merge branch upstream master.
nickl- - Rebase bolshakov with master
TJ Holowaychuk - Merge pull request #128 from nickl-/git-extras-html-hyperlinks
TJ Holowaychuk - Merge pull request #129 from nickl-/develop
nickl- - Fix #127 git-ignore won't add duplicates.

$ git commits-since 3 o clock pm
... commits since 3 o clock pm
nickl- - Merge branch upstream master.

$ git commits-since 2 hour ago
... commits since 2 hour ago
nickl- - Merge branch upstream master.
TJ Holowaychuk - Merge pull request #128 from nickl-/git-extras-html-hyperlinks
TJ Holowaychuk - Merge pull request #129 from nickl-/develop

AUTHOR

Written by Tj Holowaychuk <tj@vision-media.ca>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-commits-since(1)
git-extras-1.9.0/man/git-commits-since.md000066400000000000000000000025711216014334400202430ustar00rootroot00000000000000git-commits-since(1) -- Show commit logs since some date ======================================================== ## SYNOPSIS `git-commits-since` [<date>] ## DESCRIPTION List of commits since the given _date_. ## OPTIONS <date> Show commits more recent than . By default, the command shows the commit logs since "last week". ## EXAMPLES It is really flexible and these are only 3 of the options, go ahead give it a try: $ git commits-since yesterday ... commits since yesterday nickl- - Merge branch upstream master. nickl- - Rebase bolshakov with master TJ Holowaychuk - Merge pull request #128 from nickl-/git-extras-html-hyperlinks TJ Holowaychuk - Merge pull request #129 from nickl-/develop nickl- - Fix #127 git-ignore won't add duplicates. $ git commits-since 3 o clock pm ... commits since 3 o clock pm nickl- - Merge branch upstream master. $ git commits-since 2 hour ago ... commits since 2 hour ago nickl- - Merge branch upstream master. TJ Holowaychuk - Merge pull request #128 from nickl-/git-extras-html-hyperlinks TJ Holowaychuk - Merge pull request #129 from nickl-/develop ## AUTHOR Written by Tj Holowaychuk <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-contrib.1000066400000000000000000000016701216014334400166700ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-CONTRIB" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-contrib\fR \- Show user\'s contributions . .SH "SYNOPSIS" \fBgit\-contrib\fR . .SH "DESCRIPTION" Output a user\'s contributions to a project, based on the author name\. . .SH "OPTIONS" . .P The name of the user who owns the contributions\. . .SH "EXAMPLES" . .nf $ git contrib visionmedia visionmedia (18): Export STATUS_CODES Replaced several Array\.prototype\.slice\.call() calls with Array\.prototype\.unshift\.call() Moved help msg to node\-repl Added multiple arg support for sys\.puts(), print(), etc\. Fix stack output on socket error \.\.\. . .fi . .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> git-extras-1.9.0/man/git-contrib.html000066400000000000000000000107321216014334400174730ustar00rootroot00000000000000 git-contrib(1) - Show user's contributions
  1. git-contrib(1)
  2. git-contrib(1)

NAME

git-contrib - Show user's contributions

SYNOPSIS

git-contrib <username>

DESCRIPTION

Output a user's contributions to a project, based on the author name.

OPTIONS

<username>

The name of the user who owns the contributions.

EXAMPLES

$ git contrib visionmedia
visionmedia (18):
  Export STATUS_CODES
  Replaced several Array.prototype.slice.call() calls with Array.prototype.unshift.call()
  Moved help msg to node-repl
  Added multiple arg support for sys.puts(), print(), etc.
  Fix stack output on socket error
  ...

AUTHOR

Written by Tj Holowaychuk <tj@vision-media.ca>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-contrib(1)
git-extras-1.9.0/man/git-contrib.md000066400000000000000000000015221216014334400171240ustar00rootroot00000000000000git-contrib(1) -- Show user's contributions =========================================== ## SYNOPSIS `git-contrib` <username> ## DESCRIPTION Output a user's contributions to a project, based on the author name. ## OPTIONS <username> The name of the user who owns the contributions. ## EXAMPLES $ git contrib visionmedia visionmedia (18): Export STATUS_CODES Replaced several Array.prototype.slice.call() calls with Array.prototype.unshift.call() Moved help msg to node-repl Added multiple arg support for sys.puts(), print(), etc. Fix stack output on socket error ... ## AUTHOR Written by Tj Holowaychuk <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-count.1000066400000000000000000000020701216014334400163530ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-COUNT" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-count\fR \- Show commit count . .SH "SYNOPSIS" \fBgit\-count\fR [\-\-all] . .SH "DESCRIPTION" Show commit count\. . .SH "OPTIONS" \-\-all . .P Show commit count details\. . .SH "EXAMPLES" Output commit total: . .IP "" 4 . .nf $ git count total 1844 . .fi . .IP "" 0 . .P Output verbose commit count details: . .IP "" 4 . .nf $ 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 . .fi . .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> git-extras-1.9.0/man/git-count.html000066400000000000000000000110671216014334400171650ustar00rootroot00000000000000 git-count(1) - Show commit count
  1. git-count(1)
  2. git-count(1)

NAME

git-count - Show commit count

SYNOPSIS

git-count [--all]

DESCRIPTION

Show commit count.

OPTIONS

--all

Show commit count details.

EXAMPLES

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

AUTHOR

Written by Tj Holowaychuk <tj@vision-media.ca>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-count(1)
git-extras-1.9.0/man/git-count.md000066400000000000000000000016151216014334400166170ustar00rootroot00000000000000git-count(1) -- Show commit count ================================= ## SYNOPSIS `git-count` [--all] ## DESCRIPTION Show commit count. ## OPTIONS --all Show commit count details. ## EXAMPLES 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 ## AUTHOR Written by Tj Holowaychuk <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-create-branch.1000066400000000000000000000012361216014334400177240ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-CREATE\-BRANCH" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-create\-branch\fR \- Create branches . .SH "SYNOPSIS" \fBgit\-create\-branch\fR . .SH "DESCRIPTION" Creates local and remote branch named \. . .SH "OPTIONS" . .P The name of the branch to create\. . .SH "EXAMPLES" . .nf $ git create\-branch integration . .fi . .SH "AUTHOR" Written by Jonhnny Weslley <\fIjw@jonhnnyweslley\.net\fR> . .SH "REPORTING BUGS" <\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttp://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-create-branch.html000066400000000000000000000103751216014334400205340ustar00rootroot00000000000000 git-create-branch(1) - Create branches
  1. git-create-branch(1)
  2. git-create-branch(1)

NAME

git-create-branch - Create branches

SYNOPSIS

git-create-branch <branchname>

DESCRIPTION

Creates local and remote branch named <branchname>.

OPTIONS

<branchname>

The name of the branch to create.

EXAMPLES

$ git create-branch integration

AUTHOR

Written by Jonhnny Weslley <jw@jonhnnyweslley.net>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-create-branch(1)
git-extras-1.9.0/man/git-create-branch.md000066400000000000000000000010431216014334400201600ustar00rootroot00000000000000git-create-branch(1) -- Create branches ======================================= ## SYNOPSIS `git-create-branch` <branchname> ## DESCRIPTION Creates local and remote branch named <branchname>. ## OPTIONS <branchname> The name of the branch to create. ## EXAMPLES $ git create-branch integration ## AUTHOR Written by Jonhnny Weslley <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-delete-branch.1000066400000000000000000000012331216014334400177200ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-DELETE\-BRANCH" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-delete\-branch\fR \- Delete branches . .SH "SYNOPSIS" \fBgit\-delete\-branch\fR . .SH "DESCRIPTION" Deletes local and remote branch named \. . .SH "OPTIONS" . .P The name of the branch to delete\. . .SH "EXAMPLES" . .nf $ git delete\-branch integration . .fi . .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> git-extras-1.9.0/man/git-delete-branch.html000066400000000000000000000103301216014334400205220ustar00rootroot00000000000000 git-delete-branch(1) - Delete branches
  1. git-delete-branch(1)
  2. git-delete-branch(1)

NAME

git-delete-branch - Delete branches

SYNOPSIS

git-delete-branch <branchname>

DESCRIPTION

Deletes local and remote branch named <branchname>.

OPTIONS

<branchname>

The name of the branch to delete.

EXAMPLES

$ git delete-branch integration

AUTHOR

Written by Tj Holowaychuk <tj@vision-media.ca>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-delete-branch(1)
git-extras-1.9.0/man/git-delete-branch.md000066400000000000000000000011361216014334400201620ustar00rootroot00000000000000git-delete-branch(1) -- Delete branches ======================================= ## SYNOPSIS `git-delete-branch` <branchname> ## DESCRIPTION Deletes local and remote branch named <branchname>. Note that local deletion fails if the branch is checked out. ## OPTIONS <branchname> The name of the branch to delete. ## EXAMPLES $ git delete-branch integration ## AUTHOR Written by Tj Holowaychuk <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-delete-merged-branches.1000066400000000000000000000016161216014334400215160ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-DELETE\-MERGED\-BRANCHES" "1" "November 2012" "" "Git Extras" . .SH "NAME" \fBgit\-delete\-merged\-branches\fR \- Delete merged branches . .SH "SYNOPSIS" \fBgit\-delete\-merged\-branches\fR [\-f|\-\-force] . .SH "DESCRIPTION" Deletes all branches merged into current HEAD\. Does not delete \fImaster\fR, even if ran from a branch that is \fImaster\fR descendant\. Asks before deleting anything, unless it is run with \fI\-\-force\fR option\. . .SH "OPTIONS" \-f, \-\-force . .P Delete merged branches without asking user for confirmation\. . .SH "EXAMPLES" . .nf $ git delete\-merged\-branches . .fi . .SH "AUTHOR" Written by Jesús Espino <\fIjespinog@gmail\.com\fR> . .SH "REPORTING BUGS" <\fIhttps://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttps://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-delete-merged-branches.html000066400000000000000000000107301216014334400223170ustar00rootroot00000000000000 git-delete-merged-branches(1) - Delete merged branches
  1. git-delete-merged-branches(1)
  2. Git Extras
  3. git-delete-merged-branches(1)

NAME

git-delete-merged-branches - Delete merged branches

SYNOPSIS

git-delete-merged-branches [-f|--force]

DESCRIPTION

Deletes all branches merged into current HEAD. Does not delete master, even if ran from a branch that is master descendant. Asks before deleting anything, unless it is run with --force option.

OPTIONS

-f, --force

Delete merged branches without asking user for confirmation.

EXAMPLES

$ git delete-merged-branches

AUTHOR

Written by Jesús Espino <jespinog@gmail.com>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. November 2012
  2. git-delete-merged-branches(1)
git-extras-1.9.0/man/git-delete-merged-branches.md000066400000000000000000000013371216014334400217560ustar00rootroot00000000000000git-delete-merged-branches(1) -- Delete merged branches ===================================================== ## SYNOPSIS `git-delete-merged-branches` [-f|--force] ## DESCRIPTION Deletes all branches merged into current HEAD. Does not delete *master*, even if ran from a branch that is *master* descendant. Asks before deleting anything, unless it is run with _--force_ option. ## OPTIONS -f, --force Delete merged branches without asking user for confirmation. ## EXAMPLES $ git delete-merged-branches ## AUTHOR Written by Jesús Espino <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-delete-submodule.1000066400000000000000000000011521216014334400204620ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-DELETE\-SUBMODULE" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-delete\-submodule\fR \- Delete submodules . .SH "SYNOPSIS" \fBgit\-delete\-submodule\fR . .SH "DESCRIPTION" . .SH "OPTIONS" . .P The path of the submodule to delete\. . .SH "EXAMPLES" . .nf $ git delete\-submodule lib/foo . .fi . .SH "AUTHOR" Written by Jonhnny Weslley <\fIjw@jonhnnyweslley\.net\fR> . .SH "REPORTING BUGS" <\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttp://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-delete-submodule.html000066400000000000000000000103051216014334400212660ustar00rootroot00000000000000 git-delete-submodule(1) - Delete submodules
  1. git-delete-submodule(1)
  2. git-delete-submodule(1)

NAME

git-delete-submodule - Delete submodules

SYNOPSIS

git-delete-submodule <path>

DESCRIPTION

OPTIONS

<path>

The path of the submodule to delete.

EXAMPLES

$ git delete-submodule lib/foo

AUTHOR

Written by Jonhnny Weslley <jw@jonhnnyweslley.net>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-delete-submodule(1)
git-extras-1.9.0/man/git-delete-submodule.md000066400000000000000000000007511216014334400207260ustar00rootroot00000000000000git-delete-submodule(1) -- Delete submodules ============================================ ## SYNOPSIS `git-delete-submodule` <path> ## DESCRIPTION ## OPTIONS <path> The path of the submodule to delete. ## EXAMPLES $ git delete-submodule lib/foo ## AUTHOR Written by Jonhnny Weslley <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-delete-tag.1000066400000000000000000000011731216014334400172410ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-DELETE\-TAG" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-delete\-tag\fR \- Delete tags . .SH "SYNOPSIS" \fBgit\-delete\-tag\fR . .SH "DESCRIPTION" Deletes local and remote tag named \. . .SH "OPTIONS" . .P The name of the branch to delete\. . .SH "EXAMPLES" . .nf $ git delete\-tag 0\.0\.1 . .fi . .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> git-extras-1.9.0/man/git-delete-tag.html000066400000000000000000000102511216014334400200420ustar00rootroot00000000000000 git-delete-tag(1) - Delete tags
  1. git-delete-tag(1)
  2. git-delete-tag(1)

NAME

git-delete-tag - Delete tags

SYNOPSIS

git-delete-tag <tagname>

DESCRIPTION

Deletes local and remote tag named <tagname>.

OPTIONS

<tagname>

The name of the branch to delete.

EXAMPLES

$ git delete-tag 0.0.1

AUTHOR

Written by Tj Holowaychuk <tj@vision-media.ca>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-delete-tag(1)
git-extras-1.9.0/man/git-delete-tag.md000066400000000000000000000007711216014334400175040ustar00rootroot00000000000000git-delete-tag(1) -- Delete tags ================================ ## SYNOPSIS `git-delete-tag` <tagname> ## DESCRIPTION Deletes local and remote tag named <tagname>. ## OPTIONS <tagname> The name of the branch to delete. ## EXAMPLES $ git delete-tag 0.0.1 ## AUTHOR Written by Tj Holowaychuk <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-effort.1000066400000000000000000000031611216014334400165120ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-EFFORT" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-effort\fR \- Show effort statistics on file(s) . .SH "SYNOPSIS" \fBgit\-effort\fR [\-\-above ] [] . .SH "DESCRIPTION" Shows effort statistics about files in the repository\. . .P Display includes: . .br \- Commits: number of commits per file \- highlighting files with most activity\. . .br \- Active days: total number of days which contributed modifications to this file\. . .SH "OPTIONS" \-\-above . .P Ignore files with commits <= a value\. . .P . .P Only display effort statistics for a specific filename\. . .SH "EXAMPLES" Displays "effort" statistics: . .IP "" 4 . .nf $ git effort \-\-above 5 file commits active days git\-extras 26 18 git\-release 13 13 git\-effort 13 2 git\-ignore 11 7 git\-changelog 11 8 git\-graft 9 6 git\-summary 8 6 git\-delete\-branch 8 6 git\-repl 7 5 . .fi . .IP "" 0 . .SH "AUTHOR" Written by Leila Muhtasib <\fImuhtasib@gmail\.com\fR> . .SH "REPORTING BUGS" <\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttp://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-effort.html000066400000000000000000000122451216014334400173210ustar00rootroot00000000000000 git-effort(1) - Show effort statistics on file(s)
  1. git-effort(1)
  2. git-effort(1)

NAME

git-effort - Show effort statistics on file(s)

SYNOPSIS

git-effort [--above <value>] [<filename>]

DESCRIPTION

Shows effort statistics about files in the repository.

Display includes:
- Commits: number of commits per file - highlighting files with most activity.
- Active days: total number of days which contributed modifications to this file.

OPTIONS

--above <value>

Ignore files with commits <= a value.

<filename>

Only display effort statistics for a specific filename.

EXAMPLES

Displays "effort" statistics:

$ git effort --above 5

  file                                          commits    active days

  git-extras                                    26         18
  git-release                                   13         13
  git-effort                                    13         2
  git-ignore                                    11         7
  git-changelog                                 11         8
  git-graft                                     9          6
  git-summary                                   8          6
  git-delete-branch                             8          6
  git-repl                                      7          5

AUTHOR

Written by Leila Muhtasib <muhtasib@gmail.com>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-effort(1)
git-extras-1.9.0/man/git-effort.md000066400000000000000000000027741216014334400167630ustar00rootroot00000000000000git-effort(1) -- Show effort statistics on file(s) ================================= ## SYNOPSIS `git-effort` [--above <value>] [<filename>] ## DESCRIPTION Shows effort statistics about files in the repository. Display includes: - Commits: number of commits per file - highlighting files with most activity. - Active days: total number of days which contributed modifications to this file. ## OPTIONS --above <value> Ignore files with commits <= a value. <filename> Only display effort statistics for a specific filename. ## EXAMPLES Displays "effort" statistics: $ git effort --above 5 file commits active days git-extras 26 18 git-release 13 13 git-effort 13 2 git-ignore 11 7 git-changelog 11 8 git-graft 9 6 git-summary 8 6 git-delete-branch 8 6 git-repl 7 5 ## AUTHOR Written by Leila Muhtasib <> ## REPORTING BUGS <> ## SEE ALSO <>git-extras-1.9.0/man/git-extras.1000066400000000000000000000051231216014334400165330ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-EXTRAS" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-extras\fR \- Awesome GIT utilities . .SH "SYNOPSIS" \fBgit\-extras\fR [\-v,\-\-version] [\-h,\-\-help] [update] . .SH "OPTIONS" \-v, \-\-version . .P Show git\-extras version number\. . .P \-h, \-\-help . .P Show this help\. This option can also be used for any of the extras commands\. . .P update . .P Self update\. . .SH "COMMANDS" . .IP "\(bu" 4 \fBgit\-alias(1)\fR Define, search and show aliases . .IP "\(bu" 4 \fBgit\-back(1)\fR Undo and Stage latest commits . .IP "\(bu" 4 \fBgit\-bug(1)\fR Create bug branch . .IP "\(bu" 4 \fBgit\-changelog(1)\fR Generate the changelog report . .IP "\(bu" 4 \fBgit\-commits\-since(1)\fR Show commit logs since some date . .IP "\(bu" 4 \fBgit\-contrib(1)\fR Show user\'s contributions . .IP "\(bu" 4 \fBgit\-count(1)\fR Show commit count . .IP "\(bu" 4 \fBgit\-create\-branch(1)\fR Create branches . .IP "\(bu" 4 \fBgit\-delete\-branch(1)\fR Delete branches . .IP "\(bu" 4 \fBgit\-delete\-merged\-branches(1)\fR Delete merged branches . .IP "\(bu" 4 \fBgit\-delete\-submodule(1)\fR Delete submodules . .IP "\(bu" 4 \fBgit\-delete\-tag(1)\fR Delete tags . .IP "\(bu" 4 \fBgit\-effort(1)\fR Show effort statistics on file(s) . .IP "\(bu" 4 \fBgit\-feature(1)\fR Create feature branch . .IP "\(bu" 4 \fBgit\-fresh\-branch(1)\fR Create fresh branches . .IP "\(bu" 4 \fBgit\-gh\-pages(1)\fR Create the GitHub Pages branch . .IP "\(bu" 4 \fBgit\-graft(1)\fR Merge and destroy a given branch . .IP "\(bu" 4 \fBgit\-ignore(1)\fR Add \.gitignore patterns . .IP "\(bu" 4 \fBgit\-info(1)\fR Returns information on current repository . .IP "\(bu" 4 \fBgit\-local\-commits(1)\fR List local commits . .IP "\(bu" 4 \fBgit\-refactor(1)\fR Create refactor branch . .IP "\(bu" 4 \fBgit\-release(1)\fR Commit, tag and push changes to the repository . .IP "\(bu" 4 \fBgit\-rename\-tag(1)\fR Rename a tag . .IP "\(bu" 4 \fBgit\-repl(1)\fR git read\-eval\-print\-loop . .IP "\(bu" 4 \fBgit\-setup(1)\fR Set up a git repository . .IP "\(bu" 4 \fBgit\-show\-tree(1)\fR show branch tree of commit history . .IP "\(bu" 4 \fBgit\-squash(1)\fR Import changes form a branch . .IP "\(bu" 4 \fBgit\-summary(1)\fR Show repository summary . .IP "\(bu" 4 \fBgit\-touch(1)\fR Touch and add file to the index . .IP "\(bu" 4 \fBgit\-undo(1)\fR Remove 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> git-extras-1.9.0/man/git-extras.html000066400000000000000000000204001216014334400173320ustar00rootroot00000000000000 git-extras(1) - Awesome GIT utilities
  1. git-extras(1)
  2. git-extras(1)

NAME

git-extras - Awesome GIT utilities

SYNOPSIS

git-extras [-v,--version] [-h,--help] [update]

OPTIONS

-v, --version

Show git-extras version number.

-h, --help

Show this help. This option can also be used for any of the extras commands.

update

Self update.

COMMANDS

AUTHOR

Written by Tj Holowaychuk <tj@vision-media.ca>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-extras(1)
git-extras-1.9.0/man/git-extras.md000066400000000000000000000040331216014334400167720ustar00rootroot00000000000000git-extras(1) -- Awesome GIT utilities ================================= ## SYNOPSIS `git-extras` [-v,--version] [-h,--help] [update] ## OPTIONS -v, --version Show git-extras version number. -h, --help Show this help. This option can also be used for any of the extras commands. update Self update. ## COMMANDS - **git-alias(1)** Define, search and show aliases - **git-back(1)** Undo and Stage latest commits - **git-bug(1)** Create bug branch - **git-changelog(1)** Generate the changelog report - **git-commits-since(1)** Show commit logs since some date - **git-contrib(1)** Show user's contributions - **git-count(1)** Show commit count - **git-create-branch(1)** Create branches - **git-delete-branch(1)** Delete branches - **git-delete-merged-branches(1)** Delete merged branches - **git-delete-submodule(1)** Delete submodules - **git-delete-tag(1)** Delete tags - **git-effort(1)** Show effort statistics on file(s) - **git-feature(1)** Create feature branch - **git-fresh-branch(1)** Create fresh branches - **git-gh-pages(1)** Create the GitHub Pages branch - **git-graft(1)** Merge and destroy a given branch - **git-ignore(1)** Add .gitignore patterns - **git-info(1)** Returns information on current repository - **git-local-commits(1)** List local commits - **git-refactor(1)** Create refactor branch - **git-release(1)** Commit, tag and push changes to the repository - **git-rename-tag(1)** Rename a tag - **git-repl(1)** git read-eval-print-loop - **git-setup(1)** Set up a git repository - **git-show-tree(1)** show branch tree of commit history - **git-squash(1)** Import changes form a branch - **git-summary(1)** Show repository summary - **git-touch(1)** Touch and add file to the index - **git-undo(1)** Remove latest commits ## AUTHOR Written by Tj Holowaychuk <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-feature.1000066400000000000000000000014111216014334400166540ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-FEATURE" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-feature\fR \- Create feature branch . .SH "SYNOPSIS" \fBgit\-feature\fR [finish] . .SH "DESCRIPTION" Create the given feature branch . .SH "OPTIONS" . .P Merge and delete the feature branch\. . .P . .P The name of the feature branch\. . .SH "EXAMPLES" . .nf $ git feature dependencies \.\.\. $ git commit \-m "Some changes" \.\.\. $ git checkout master $ git feature finish dependencies . .fi . .SH "AUTHOR" Written by Jesús Espino <\fIjespinog@gmail\.com\fR> . .SH "REPORTING BUGS" <\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttp://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-feature.html000066400000000000000000000105021216014334400174610ustar00rootroot00000000000000 git-feature(1) - Create feature branch
  1. git-feature(1)
  2. git-feature(1)

NAME

git-feature - Create feature branch

SYNOPSIS

git-feature [finish] <name>

DESCRIPTION

Create the given feature branch

OPTIONS

<finish>

Merge and delete the feature branch.

<name>

The name of the feature branch.

EXAMPLES

$ git feature dependencies
...
$ git commit -m "Some changes"
...
$ git checkout master
$ git feature finish dependencies

AUTHOR

Written by Jesús Espino <jespinog@gmail.com>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-feature(1)
git-extras-1.9.0/man/git-feature.md000066400000000000000000000012411216014334400171150ustar00rootroot00000000000000git-feature(1) -- Create feature branch ======================================= ## SYNOPSIS `git-feature` [finish] <name> ## DESCRIPTION Create the given feature branch ## OPTIONS <finish> Merge and delete the feature branch. <name> The name of the feature branch. ## EXAMPLES $ git feature dependencies ... $ git commit -m "Some changes" ... $ git checkout master $ git feature finish dependencies ## AUTHOR Written by Jesús Espino <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-fresh-branch.1000066400000000000000000000012201216014334400175610ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-FRESH\-BRANCH" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-fresh\-branch\fR \- Create fresh branches . .SH "SYNOPSIS" \fBgit\-fresh\-branch\fR . .SH "DESCRIPTION" Creates empty local branch named \. . .SH "OPTIONS" . .P The name of the branch to create\. . .SH "EXAMPLES" . .nf $ git fresh\-branch docs . .fi . .SH "AUTHOR" Written by Kenneth Reitz <\fIme@kennethreitz\.com\fR> . .SH "REPORTING BUGS" <\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttp://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-fresh-branch.html000066400000000000000000000103331216014334400203720ustar00rootroot00000000000000 git-fresh-branch(1) - Create fresh branches
  1. git-fresh-branch(1)
  2. git-fresh-branch(1)

NAME

git-fresh-branch - Create fresh branches

SYNOPSIS

git-fresh-branch <branchname>

DESCRIPTION

Creates empty local branch named <branchname>.

OPTIONS

<branchname>

The name of the branch to create.

EXAMPLES

$ git fresh-branch docs

AUTHOR

Written by Kenneth Reitz <me@kennethreitz.com>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-fresh-branch(1)
git-extras-1.9.0/man/git-fresh-branch.md000066400000000000000000000010331216014334400200230ustar00rootroot00000000000000git-fresh-branch(1) -- Create fresh branches ============================================ ## SYNOPSIS `git-fresh-branch` <branchname> ## DESCRIPTION Creates empty local branch named <branchname>. ## OPTIONS <branchname> The name of the branch to create. ## EXAMPLES $ git fresh-branch docs ## AUTHOR Written by Kenneth Reitz <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-gh-pages.1000066400000000000000000000020101216014334400167100ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-GH\-PAGES" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-gh\-pages\fR \- Create the GitHub Pages branch . .SH "SYNOPSIS" \fBgit\-gh\-pages\fR . .SH "DESCRIPTION" Create the GitHub Pages branch (gh\-pages) with an initial dummy index\.html file\. . .SH "EXAMPLES" . .nf $ git gh\-pages setting up gh\-pages Removing \.\.\. [gh\-pages (root\-commit) 94f4b26] Initial commit 1 file changed, 1 insertion(+) create mode 100644 index\.html Counting objects: 3, done\. Writing objects: 100% (3/3), 232 bytes, done\. Total 3 (delta 0), reused 0 (delta 0) To git@github\.com:myuser/myrepository\.git * [new branch] gh\-pages \-> gh\-pages Branch gh\-pages set up to track remote branch gh\-pages from origin\. complete $ . .fi . .SH "AUTHOR" Written by Jesús Espino <\fIjespinog@gmail\.com\fR> . .SH "REPORTING BUGS" <\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttp://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-gh-pages.html000066400000000000000000000107441216014334400175310ustar00rootroot00000000000000 git-gh-pages(1) - Create the GitHub Pages branch
  1. git-gh-pages(1)
  2. git-gh-pages(1)

NAME

git-gh-pages - Create the GitHub Pages branch

SYNOPSIS

git-gh-pages

DESCRIPTION

Create the GitHub Pages branch (gh-pages) with an initial dummy index.html file.

EXAMPLES

$ git gh-pages
setting up gh-pages
Removing ...
[gh-pages (root-commit) 94f4b26] Initial commit
 1 file changed, 1 insertion(+)
 create mode 100644 index.html
Counting objects: 3, done.
Writing objects: 100% (3/3), 232 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To git@github.com:myuser/myrepository.git
 * [new branch]      gh-pages -> gh-pages
Branch gh-pages set up to track remote branch gh-pages from origin.
complete
$

AUTHOR

Written by Jesús Espino <jespinog@gmail.com>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-gh-pages(1)
git-extras-1.9.0/man/git-gh-pages.md000066400000000000000000000016601216014334400171620ustar00rootroot00000000000000git-gh-pages(1) -- Create the GitHub Pages branch ================================================= ## SYNOPSIS `git-gh-pages` ## DESCRIPTION Create the GitHub Pages branch (gh-pages) with an initial dummy index.html file. ## EXAMPLES $ git gh-pages setting up gh-pages Removing ... [gh-pages (root-commit) 94f4b26] Initial commit 1 file changed, 1 insertion(+) create mode 100644 index.html Counting objects: 3, done. Writing objects: 100% (3/3), 232 bytes, done. Total 3 (delta 0), reused 0 (delta 0) To git@github.com:myuser/myrepository.git * [new branch] gh-pages -> gh-pages Branch gh-pages set up to track remote branch gh-pages from origin. complete $ ## AUTHOR Written by Jesús Espino <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-graft.1000066400000000000000000000013111216014334400163230ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-GRAFT" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-graft\fR \- Merge and destroy a given branch . .SH "SYNOPSIS" \fBgit\-graft\fR [] . .SH "DESCRIPTION" Merge commits from into which defaults to the current branch\. . .SH "OPTIONS" . .P . .SH "EXAMPLES" . .nf $ git graft new_feature dev $ git graft new_feature . .fi . .SH "AUTHOR" Written by Kenneth Reitz <\fIme@kennethreitz\.com\fR> . .SH "REPORTING BUGS" <\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttp://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-graft.html000066400000000000000000000104351216014334400171360ustar00rootroot00000000000000 git-graft(1) - Merge and destroy a given branch
  1. git-graft(1)
  2. git-graft(1)

NAME

git-graft - Merge and destroy a given branch

SYNOPSIS

git-graft <src-branch> [<dest-branch>]

DESCRIPTION

Merge commits from <src-branch> into <dest-branch> which defaults to the current branch.

OPTIONS

<src-branch>

<dest-branch>

EXAMPLES

$ git graft new_feature dev
$ git graft new_feature

AUTHOR

Written by Kenneth Reitz <me@kennethreitz.com>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-graft(1)
git-extras-1.9.0/man/git-graft.md000066400000000000000000000011521216014334400165660ustar00rootroot00000000000000git-graft(1) -- Merge and destroy a given branch ====================================== ## SYNOPSIS `git-graft` <src-branch> [<dest-branch>] ## DESCRIPTION Merge commits from <src-branch> into <dest-branch> which defaults to the current branch. ## OPTIONS <src-branch> <dest-branch> ## EXAMPLES $ git graft new_feature dev $ git graft new_feature ## AUTHOR Written by Kenneth Reitz <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-ignore.1000066400000000000000000000105111216014334400165050ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-IGNORE" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-ignore\fR \- Add \.gitignore patterns . .SH "SYNOPSIS" \fBgit\-ignore\fR [] [ []\.\.\.] . .SH "DESCRIPTION" Adds the given _pattern_s to a \.gitignore file if it doesn\'t already exist\. . .SH "OPTIONS" . .P \-l, \-\-local . .P Sets the context to the \.gitignore file in the current working directory\. (default) . .P \-g, \-\-global . .P Sets the context to the global gitignore file fol the current user\. . .P . .P A space delimited list of patterns to append to the file in context\. . .SS "PATTERN FORMAT" Pattern format as described in the git manual . .IP "\(bu" 4 A blank line matches no files, so it can serve as a separator for readability\. To append a blank line use empty quotes ""\. . .IP "\(bu" 4 A line starting with # serves as a comment\. For example, "# This is a comment" . .IP "\(bu" 4 An optional prefix ! which negates the pattern; any matching file excluded by a previous pattern will become included again\. If a negated pattern matches, this will override lower precedence patterns sources\. To use an exclamation ! as command line argument it is best placed between single quotes \'\'\. For example, \'!src\' . .IP "\(bu" 4 If the pattern ends with a slash, it is removed for the purpose of the following description, but it would only find a match with a directory\. In other words, foo/ will match a directory foo and paths underneath it, but will not match a regular file or a symbolic link foo (this is consistent with the way how pathspec works in general in git)\. . .IP "\(bu" 4 If the pattern does not contain a slash /, git treats it as a shell glob pattern and checks for a match against the pathname relative to the location of the \.gitignore file (relative to the toplevel of the work tree if not from a \.gitignore file)\. . .IP "\(bu" 4 Otherwise, git treats the pattern as a shell glob suitable for consumption by fnmatch(3) with the FNM_PATHNAME flag: wildcards in the pattern will not match a / in the pathname\. For example, "Documentation/*\.html" matches "Documentation/git\.html" but not "Documentation/ppc/ppc\.html" or "tools/perf/Documentation/perf\.html"\. . .IP "\(bu" 4 A leading slash matches the beginning of the pathname\. For example, "/*\.c" matches "cat\-file\.c" but not "mozilla\-sha1/sha1\.c"\. . .IP "" 0 . .SH "EXAMPLES" All arguments are optional so calling git\-ignore alone will display first the global then the local gitignore files: . .IP "" 4 . .nf $ git ignore Global gitignore: /home/alice/\.gitignore # Numerous always\-ignore extensions *\.diff *\.err *\.orig *\.rej *\.swo *\.swp *\.vi *~ *\.sass\-cache # OS or Editor folders \.DS_Store \.Trashes \._* Thumbs\.db \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- Local gitignore: \.gitignore \.cache \.project \.settings \.tmproj nbproject . .fi . .IP "" 0 . .P If you only want to see the global context use the \-\-global argument (for local use \-\-local): . .IP "" 4 . .nf $ git ignore Global gitignore: /home/alice/\.gitignore \.DS_Store \.Trashes \._* Thumbs\.db . .fi . .IP "" 0 . .P To quickly append a new pattern to the default/local context simply: . .IP "" 4 . .nf $ git ignore *\.log Adding pattern(s) to: \.gitignore \.\.\. adding \'*\.log\' . .fi . .IP "" 0 . .P You can now configure any patterns without ever using an editor, with a context and pattern arguments: The resulting configuration is also returned for your convenience\. . .IP "" 4 . .nf $ git ignore \-\-local "" "# Temporary files" *\.tmp "*\.log" tmp/* "" "# Files I\'d like to keep" \'!work\' "" Adding pattern(s) to: \.gitignore \.\.\. adding \'\' \.\.\. adding \'# Temporary files\' \.\.\. adding \'index\.tmp\' \.\.\. adding \'*\.log\' \.\.\. adding \'tmp/*\' \.\.\. adding \'\' \.\.\. adding \'# Files I\'d like to keep\' \.\.\. adding \'!work\' \.\.\. adding \'\' Local gitignore: \.gitignore # Temporary files index\.tmp *\.log # Files I\'d like to keep !work . .fi . .IP "" 0 . .SH "AUTHOR" Written by Tj Holowaychuk <\fItj@vision\-media\.ca\fR> and Tema Bolshakov <\fItweekane@gmail\.com\fR> and 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> git-extras-1.9.0/man/git-ignore.html000066400000000000000000000205351216014334400173200ustar00rootroot00000000000000 git-ignore(1) - Add .gitignore patterns
  1. git-ignore(1)
  2. git-ignore(1)

NAME

git-ignore - Add .gitignore patterns

SYNOPSIS

git-ignore [<context>] [<pattern> [<pattern>]...]

DESCRIPTION

Adds the given _pattern_s to a .gitignore file if it doesn't already exist.

OPTIONS

<context>

-l, --local

Sets the context to the .gitignore file in the current working directory. (default)

-g, --global

Sets the context to the global gitignore file fol the current user.

<pattern>

A space delimited list of patterns to append to the file in context.

PATTERN FORMAT

Pattern format as described in the git manual

  • A blank line matches no files, so it can serve as a separator for readability. To append a blank line use empty quotes "".

  • A line starting with # serves as a comment. For example, "# This is a comment"

  • An optional prefix ! which negates the pattern; any matching file excluded by a previous pattern will become included again. If a negated pattern matches, this will override lower precedence patterns sources. To use an exclamation ! as command line argument it is best placed between single quotes ''. For example, '!src'

  • If the pattern ends with a slash, it is removed for the purpose of the following description, but it would only find a match with a directory. In other words, foo/ will match a directory foo and paths underneath it, but will not match a regular file or a symbolic link foo (this is consistent with the way how pathspec works in general in git).

  • If the pattern does not contain a slash /, git treats it as a shell glob pattern and checks for a match against the pathname relative to the location of the .gitignore file (relative to the toplevel of the work tree if not from a .gitignore file).

  • Otherwise, git treats the pattern as a shell glob suitable for consumption by fnmatch(3) with the FNM_PATHNAME flag: wildcards in the pattern will not match a / in the pathname. For example, "Documentation/*.html" matches "Documentation/git.html" but not "Documentation/ppc/ppc.html" or "tools/perf/Documentation/perf.html".

  • A leading slash matches the beginning of the pathname. For example, "/*.c" matches "cat-file.c" but not "mozilla-sha1/sha1.c".

EXAMPLES

All arguments are optional so calling git-ignore alone will display first the global then the local gitignore files:

$ git ignore
Global gitignore: /home/alice/.gitignore
# Numerous always-ignore extensions
*.diff
*.err
*.orig
*.rej
*.swo
*.swp
*.vi
*~
*.sass-cache

# OS or Editor folders
.DS_Store
.Trashes
._*
Thumbs.db
---------------------------------
Local gitignore: .gitignore
.cache
.project
.settings
.tmproj
nbproject

If you only want to see the global context use the --global argument (for local use --local):

$ git ignore
Global gitignore: /home/alice/.gitignore
.DS_Store
.Trashes
._*
Thumbs.db

To quickly append a new pattern to the default/local context simply:

$ git ignore *.log
Adding pattern(s) to: .gitignore
... adding '*.log'

You can now configure any patterns without ever using an editor, with a context and pattern arguments: The resulting configuration is also returned for your convenience.

$ git ignore --local "" "# Temporary files" *.tmp "*.log" tmp/*  "" "# Files I'd like to keep" '!work'  ""
Adding pattern(s) to: .gitignore
... adding ''
... adding '# Temporary files'
... adding 'index.tmp'
... adding '*.log'
... adding 'tmp/*'
... adding ''
... adding '# Files I'd like to keep'
... adding '!work'
... adding ''

Local gitignore: .gitignore

# Temporary files
index.tmp
*.log

# Files I'd like to keep
!work

AUTHOR

Written by Tj Holowaychuk <tj@vision-media.ca> and Tema Bolshakov <tweekane@gmail.com> and Nick Lombard <github@jigsoft.co.za>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-ignore(1)
git-extras-1.9.0/man/git-ignore.md000066400000000000000000000100211216014334400167410ustar00rootroot00000000000000git-ignore(1) -- Add .gitignore patterns ======================================== ## SYNOPSIS `git-ignore` [<context>] [<pattern> [<pattern>]...] ## DESCRIPTION Adds the given _pattern_s to a .gitignore file if it doesn't already exist. ## OPTIONS <context> -l, --local Sets the context to the .gitignore file in the current working directory. (default) -g, --global Sets the context to the global gitignore file fol the current user. <pattern> A space delimited list of patterns to append to the file in context. ### PATTERN FORMAT Pattern format as described in the git manual * A blank line matches no files, so it can serve as a separator for readability. To append a blank line use empty quotes "". * A line starting with # serves as a comment. For example, "# This is a comment" * An optional prefix ! which negates the pattern; any matching file excluded by a previous pattern will become included again. If a negated pattern matches, this will override lower precedence patterns sources. To use an exclamation ! as command line argument it is best placed between single quotes ''. For example, '!src' * If the pattern ends with a slash, it is removed for the purpose of the following description, but it would only find a match with a directory. In other words, foo/ will match a directory foo and paths underneath it, but will not match a regular file or a symbolic link foo (this is consistent with the way how pathspec works in general in git). * If the pattern does not contain a slash /, git treats it as a shell glob pattern and checks for a match against the pathname relative to the location of the .gitignore file (relative to the toplevel of the work tree if not from a .gitignore file). * Otherwise, git treats the pattern as a shell glob suitable for consumption by fnmatch(3) with the FNM_PATHNAME flag: wildcards in the pattern will not match a / in the pathname. For example, "Documentation/*.html" matches "Documentation/git.html" but not "Documentation/ppc/ppc.html" or "tools/perf/Documentation/perf.html". * A leading slash matches the beginning of the pathname. For example, "/*.c" matches "cat-file.c" but not "mozilla-sha1/sha1.c". ## EXAMPLES All arguments are optional so calling git-ignore alone will display first the global then the local gitignore files: $ git ignore Global gitignore: /home/alice/.gitignore # Numerous always-ignore extensions *.diff *.err *.orig *.rej *.swo *.swp *.vi *~ *.sass-cache # OS or Editor folders .DS_Store .Trashes ._* Thumbs.db --------------------------------- Local gitignore: .gitignore .cache .project .settings .tmproj nbproject If you only want to see the global context use the --global argument (for local use --local): $ git ignore Global gitignore: /home/alice/.gitignore .DS_Store .Trashes ._* Thumbs.db To quickly append a new pattern to the default/local context simply: $ git ignore *.log Adding pattern(s) to: .gitignore ... adding '*.log' You can now configure any patterns without ever using an editor, with a context and pattern arguments: The resulting configuration is also returned for your convenience. $ git ignore --local "" "# Temporary files" *.tmp "*.log" tmp/* "" "# Files I'd like to keep" '!work' "" Adding pattern(s) to: .gitignore ... adding '' ... adding '# Temporary files' ... adding 'index.tmp' ... adding '*.log' ... adding 'tmp/*' ... adding '' ... adding '# Files I'd like to keep' ... adding '!work' ... adding '' Local gitignore: .gitignore # Temporary files index.tmp *.log # Files I'd like to keep !work ## AUTHOR Written by Tj Holowaychuk <> and Tema Bolshakov <> and Nick Lombard <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-info.1000066400000000000000000000033061216014334400161610ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-INFO" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-info\fR \- Returns information on current repository . .SH "SYNOPSIS" \fBgit\-info\fR . .SH "DESCRIPTION" Shows the following information about a repository: . .IP "1." 4 Remote Url(s) . .IP "2." 4 Remote Branches . .IP "3." 4 Local Branches . .IP "4." 4 Most recent commit . .IP "5." 4 Configuration Info . .IP "" 0 . .SH "OPTIONS" N/A . .SH "EXAMPLES" Outputs info about a repo: . .IP "" 4 . .nf $ git info ## Remote URLs: origin git@github\.com:sampleAuthor/git\-extras\.git (fetch) origin git@github\.com:sampleAuthor/git\-extras\.git (push) ## Remote Branches: origin/HEAD \-> origin/master origin/myBranch ## Local Branches: myBranch * master ## Most Recent Commit: commit e3952df2c172c6f3eb533d8d0b1a6c77250769a7 Author: Sample Author Added git\-info command\. Type \'git log\' for more commits, or \'git show \' for full commit details\. ## Configuration (\.git/config): color\.diff=auto color\.status=auto color\.branch=auto user\.name=Sample Author user\.email=sampleAuthor@gmail\.com core\.repositoryformatversion=0 core\.filemode=true core\.bare=false core\.logallrefupdates=true core\.ignorecase=true remote\.origin\.fetch=+refs/heads/*:refs/remotes/origin/* remote\.origin\.url=git@github\.com:mub/git\-extras\.git branch\.master\.remote=origin branch\.master\.merge=refs/heads/master . .fi . .IP "" 0 . .SH "AUTHOR" Written by Leila Muhtasib <\fImuhtasib@gmail\.com\fR> . .SH "REPORTING BUGS" <\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttp://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-info.html000066400000000000000000000122571216014334400167720ustar00rootroot00000000000000 git-info(1) - Returns information on current repository
  1. git-info(1)
  2. git-info(1)

NAME

git-info - Returns information on current repository

SYNOPSIS

git-info

DESCRIPTION

Shows the following information about a repository:

  1. Remote Url(s)
  2. Remote Branches
  3. Local Branches
  4. Most recent commit
  5. Configuration Info

OPTIONS

N/A

EXAMPLES

Outputs info about a repo:

$ git info

## Remote URLs:

origin      git@github.com:sampleAuthor/git-extras.git (fetch)
origin      git@github.com:sampleAuthor/git-extras.git (push)

## Remote Branches:

origin/HEAD -> origin/master
origin/myBranch

## Local Branches:

myBranch
* master

## Most Recent Commit:

commit e3952df2c172c6f3eb533d8d0b1a6c77250769a7
Author: Sample Author <sampleAuthor@gmail.com>

Added git-info command.

Type 'git log' for more commits, or 'git show <commit id>' for full commit details.

## Configuration (.git/config):

color.diff=auto
color.status=auto
color.branch=auto
user.name=Sample Author
user.email=sampleAuthor@gmail.com
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
core.ignorecase=true
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
remote.origin.url=git@github.com:mub/git-extras.git
branch.master.remote=origin
branch.master.merge=refs/heads/master

AUTHOR

Written by Leila Muhtasib <muhtasib@gmail.com>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-info(1)
git-extras-1.9.0/man/git-info.md000066400000000000000000000030721216014334400164210ustar00rootroot00000000000000git-info(1) -- Returns information on current repository ================================ ## SYNOPSIS `git-info` ## DESCRIPTION Shows the following information about a repository: 1. Remote Url(s) 2. Remote Branches 3. Local Branches 4. Most recent commit 5. Configuration Info ## OPTIONS N/A ## EXAMPLES Outputs info about a repo: $ git info ## Remote URLs: origin git@github.com:sampleAuthor/git-extras.git (fetch) origin git@github.com:sampleAuthor/git-extras.git (push) ## Remote Branches: origin/HEAD -> origin/master origin/myBranch ## Local Branches: myBranch * master ## Most Recent Commit: commit e3952df2c172c6f3eb533d8d0b1a6c77250769a7 Author: Sample Author Added git-info command. Type 'git log' for more commits, or 'git show ' for full commit details. ## Configuration (.git/config): color.diff=auto color.status=auto color.branch=auto user.name=Sample Author user.email=sampleAuthor@gmail.com core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true core.ignorecase=true remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* remote.origin.url=git@github.com:mub/git-extras.git branch.master.remote=origin branch.master.merge=refs/heads/master ## AUTHOR Written by Leila Muhtasib <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-local-commits.1000066400000000000000000000013361216014334400177720ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-LOCAL\-COMMITS" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-local\-commits\fR \- List local commits . .SH "SYNOPSIS" \fBgit\-local\-commits\fR . .SH "DESCRIPTION" Lists commits in the local branch that have not been pushed to origin\. . .SH "OPTIONS" . .P All arguments passed to \fBgit\-local\-commits\fR will be passed directly to \fBgit\-log\fR\. . .SH "EXAMPLES" . .nf $ git local\-commits \-\-graph . .fi . .SH "AUTHOR" Written by Michael Komitee <\fImkomitee@gmail\.com\fR> . .SH "REPORTING BUGS" <\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttp://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-local-commits.html000066400000000000000000000104421216014334400205740ustar00rootroot00000000000000 git-local-commits(1) - List local commits
  1. git-local-commits(1)
  2. git-local-commits(1)

NAME

git-local-commits - List local commits

SYNOPSIS

git-local-commits <args>

DESCRIPTION

Lists commits in the local branch that have not been pushed to origin.

OPTIONS

<args>

All arguments passed to git-local-commits will be passed directly to git-log.

EXAMPLES

$ git local-commits --graph

AUTHOR

Written by Michael Komitee <mkomitee@gmail.com>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-local-commits(1)
git-extras-1.9.0/man/git-local-commits.md000066400000000000000000000011201216014334400202210ustar00rootroot00000000000000git-local-commits(1) -- List local commits ======================================= ## SYNOPSIS `git-local-commits` <args> ## DESCRIPTION Lists commits in the local branch that have not been pushed to origin. ## OPTIONS <args> All arguments passed to `git-local-commits` will be passed directly to `git-log`. ## EXAMPLES $ git local-commits --graph ## AUTHOR Written by Michael Komitee <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-refactor.1000066400000000000000000000014321216014334400170310ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-REFACTOR" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-refactor\fR \- Create refactor branch . .SH "SYNOPSIS" \fBgit\-refactor\fR [finish] . .SH "DESCRIPTION" Create the given refactor branch . .SH "OPTIONS" . .P Merge and delete the refactor branch\. . .P . .P The name of the refactor branch\. . .SH "EXAMPLES" . .nf $ git refactor mainlib_refactor \.\.\. $ git commit \-m "Some changes" \.\.\. $ git checkout master $ git refactor finish mainlib_refactor . .fi . .SH "AUTHOR" Written by Jesús Espino <\fIjespinog@gmail\.com\fR> . .SH "REPORTING BUGS" <\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttp://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-refactor.html000066400000000000000000000105251216014334400176400ustar00rootroot00000000000000 git-refactor(1) - Create refactor branch
  1. git-refactor(1)
  2. git-refactor(1)

NAME

git-refactor - Create refactor branch

SYNOPSIS

git-refactor [finish] <name>

DESCRIPTION

Create the given refactor branch

OPTIONS

<finish>

Merge and delete the refactor branch.

<name>

The name of the refactor branch.

EXAMPLES

$ git refactor mainlib_refactor
...
$ git commit -m "Some changes"
...
$ git checkout master
$ git refactor finish mainlib_refactor

AUTHOR

Written by Jesús Espino <jespinog@gmail.com>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-refactor(1)
git-extras-1.9.0/man/git-refactor.md000066400000000000000000000012631216014334400172730ustar00rootroot00000000000000git-refactor(1) -- Create refactor branch ========================================= ## SYNOPSIS `git-refactor` [finish] <name> ## DESCRIPTION Create the given refactor branch ## OPTIONS <finish> Merge and delete the refactor branch. <name> The name of the refactor branch. ## EXAMPLES $ git refactor mainlib_refactor ... $ git commit -m "Some changes" ... $ git checkout master $ git refactor finish mainlib_refactor ## AUTHOR Written by Jesús Espino <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-release.1000066400000000000000000000020471216014334400166470ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-RELEASE" "1" "October 2012" "" "Git Extras" . .SH "NAME" \fBgit\-release\fR \- Commit, tag and push changes to the repository . .SH "SYNOPSIS" \fBgit\-release\fR [] . .SH "DESCRIPTION" Commits changes with message "Release ", tags with the given and pushes the branch / tags\. . .SH "OPTIONS" . .P The name of the newly created tag\. Also used in tag comment\. . .P . .P The "remote" repository that is destination of a push operation: it is passed to git push\. . .SH "EXAMPLES" . .IP "\(bu" 4 Release commit with the given \. . .IP $ git release 0\.1\.0 . .IP "\(bu" 4 Release commit with the given and push to specific remote\. . .IP $ git release 0\.1\.0 github . .IP "" 0 . .SH "AUTHOR" Written by Tj Holowaychuk <\fItj@vision\-media\.ca\fR> . .SH "REPORTING BUGS" <\fIhttps://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttps://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-release.html000066400000000000000000000112121216014334400174450ustar00rootroot00000000000000 git-release(1) - Commit, tag and push changes to the repository
  1. git-release(1)
  2. Git Extras
  3. git-release(1)

NAME

git-release - Commit, tag and push changes to the repository

SYNOPSIS

git-release <tagname> [<remote>]

DESCRIPTION

Commits changes with message "Release <tagname>", tags with the given <tagname> and pushes the branch / tags.

OPTIONS

<tagname>

The name of the newly created tag. Also used in tag comment.

<remote>

The "remote" repository that is destination of a push operation: it is passed to git push.

EXAMPLES

  • Release commit with the given <tagname>.

    $ git release 0.1.0

  • Release commit with the given <tagname> and push to specific remote.

    $ git release 0.1.0 github

AUTHOR

Written by Tj Holowaychuk <tj@vision-media.ca>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. October 2012
  2. git-release(1)
git-extras-1.9.0/man/git-release.md000066400000000000000000000016711216014334400171110ustar00rootroot00000000000000git-release(1) -- Commit, tag and push changes to the repository ================================================================ ## SYNOPSIS `git-release` <tagname> [<remote>] ## DESCRIPTION Commits changes with message "Release <tagname>", tags with the given <tagname> and pushes the branch / tags. ## OPTIONS <tagname> The name of the newly created tag. Also used in tag comment. <remote> The "remote" repository that is destination of a push operation: it is passed to git push. ## EXAMPLES * Release commit with the given <tagname>. $ git release 0.1.0 * Release commit with the given <tagname> and push to specific remote. $ git release 0.1.0 github ## AUTHOR Written by Tj Holowaychuk <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-rename-tag.1000066400000000000000000000022431216014334400172450ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-RENAME\-TAG" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-rename\-tag\fR \- Rename a tag . .SH "SYNOPSIS" \fBgit\-rename\-tag\fR . .SH "DESCRIPTION" Rename a tag (locally and remotely) . .SH "OPTIONS" . .P The name of the tag you want to rename\. . .P . .P The new name of the tag\. . .SH "EXAMPLES" . .nf $ git tag test $ git push \-\-tags Total 0 (delta 0), reused 0 (delta 0) To git@myserver\.com:myuser/myrepository\.git * [new tag] test \-> test $ git tag test $ git rename\-tag test test2 Deleted tag \'test\' (was 1111111) Total 0 (delta 0), reused 0 (delta 0) To git@myserver\.com:myuser/myrepository\.git * [new tag] test2 \-> test2 remote: warning: Deleting a non\-existent ref\. To git@myserver\.com:myuser/myrepository\.git \- [deleted] refs/tag/test $ git tag test2 . .fi . .SH "AUTHOR" Written by Jesús Espino <\fIjespinog@gmail\.com\fR> . .SH "REPORTING BUGS" <\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttp://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-rename-tag.html000066400000000000000000000113251216014334400200520ustar00rootroot00000000000000 git-rename-tag(1) - Rename a tag
  1. git-rename-tag(1)
  2. git-rename-tag(1)

NAME

git-rename-tag - Rename a tag

SYNOPSIS

git-rename-tag <old-tag-name> <new-tag-name>

DESCRIPTION

Rename a tag (locally and remotely)

OPTIONS

<old-tag-name>

The name of the tag you want to rename.

<new-tag-name>

The new name of the tag.

EXAMPLES

$ git tag test
$ git push --tags
Total 0 (delta 0), reused 0 (delta 0)
To git@myserver.com:myuser/myrepository.git
 * [new tag]         test -> test
$ git tag
test
$ git rename-tag test test2
Deleted tag 'test' (was 1111111)
Total 0 (delta 0), reused 0 (delta 0)
To git@myserver.com:myuser/myrepository.git
 * [new tag]         test2 -> test2
remote: warning: Deleting a non-existent ref.
To git@myserver.com:myuser/myrepository.git
 - [deleted]         refs/tag/test
$ git tag
test2

AUTHOR

Written by Jesús Espino <jespinog@gmail.com>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-rename-tag(1)
git-extras-1.9.0/man/git-rename-tag.md000066400000000000000000000021201216014334400174770ustar00rootroot00000000000000git-rename-tag(1) -- Rename a tag ================================= ## SYNOPSIS `git-rename-tag` <old-tag-name> <new-tag-name> ## DESCRIPTION Rename a tag (locally and remotely) ## OPTIONS <old-tag-name> The name of the tag you want to rename. <new-tag-name> The new name of the tag. ## EXAMPLES $ git tag test $ git push --tags Total 0 (delta 0), reused 0 (delta 0) To git@myserver.com:myuser/myrepository.git * [new tag] test -> test $ git tag test $ git rename-tag test test2 Deleted tag 'test' (was 1111111) Total 0 (delta 0), reused 0 (delta 0) To git@myserver.com:myuser/myrepository.git * [new tag] test2 -> test2 remote: warning: Deleting a non-existent ref. To git@myserver.com:myuser/myrepository.git - [deleted] refs/tag/test $ git tag test2 ## AUTHOR Written by Jesús Espino <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-repl.1000066400000000000000000000013321216014334400161650ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-REPL" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-repl\fR \- git read\-eval\-print\-loop . .SH "SYNOPSIS" \fBgit\-repl\fR . .SH "DESCRIPTION" . .SH "OPTIONS" GIT read\-eval\-print\-loop: . .IP "" 4 . .nf $ git repl git> ls\-files History\.md Makefile Readme\.md bin/git\-changelog bin/git\-count bin/git\-delete\-branch bin/git\-delete\-tag bin/git\-ignore bin/git\-release git> quit . .fi . .IP "" 0 . .SH "EXAMPLES" . .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> git-extras-1.9.0/man/git-repl.html000066400000000000000000000103061216014334400167720ustar00rootroot00000000000000 git-repl(1) - git read-eval-print-loop
  1. git-repl(1)
  2. git-repl(1)

NAME

git-repl - git read-eval-print-loop

SYNOPSIS

git-repl

DESCRIPTION

OPTIONS

GIT read-eval-print-loop:

$ git repl

git> ls-files
History.md
Makefile
Readme.md
bin/git-changelog
bin/git-count
bin/git-delete-branch
bin/git-delete-tag
bin/git-ignore
bin/git-release

git> quit

EXAMPLES

AUTHOR

Written by Tj Holowaychuk <tj@vision-media.ca>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-repl(1)
git-extras-1.9.0/man/git-repl.md000066400000000000000000000011451216014334400164270ustar00rootroot00000000000000git-repl(1) -- git read-eval-print-loop ======================================= ## SYNOPSIS `git-repl` ## DESCRIPTION ## OPTIONS GIT read-eval-print-loop: $ git repl git> ls-files History.md Makefile Readme.md bin/git-changelog bin/git-count bin/git-delete-branch bin/git-delete-tag bin/git-ignore bin/git-release git> quit ## EXAMPLES ## AUTHOR Written by Tj Holowaychuk <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-setup.1000066400000000000000000000013311216014334400163620ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-SETUP" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-setup\fR \- Set up a git repository . .SH "SYNOPSIS" \fBgit\-setup\fR [] . .SH "DESCRIPTION" Set up a git repository if one doesn\'t exist, add all files and make an initial commit\. . .SH "OPTIONS" . .P The name of a new directory to setup\. By default, the current working directory\. . .SH "EXAMPLES" . .nf $ git setup path/to/repository . .fi . .SH "AUTHOR" Written by Aggelos Orfanakos <\fIagorf@agorf\.gr\fR> . .SH "REPORTING BUGS" <\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttp://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-setup.html000066400000000000000000000103251216014334400171710ustar00rootroot00000000000000 git-setup(1) - Set up a git repository
  1. git-setup(1)
  2. git-setup(1)

NAME

git-setup - Set up a git repository

SYNOPSIS

git-setup [<directory>]

DESCRIPTION

Set up a git repository if one doesn't exist, add all files and make an initial commit.

OPTIONS

<directory>

The name of a new directory to setup. By default, the current working directory.

EXAMPLES

$ git setup path/to/repository

AUTHOR

Written by Aggelos Orfanakos <agorf@agorf.gr>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-setup(1)
git-extras-1.9.0/man/git-setup.md000066400000000000000000000011531216014334400166240ustar00rootroot00000000000000git-setup(1) -- Set up a git repository ======================================= ## SYNOPSIS `git-setup` [<directory>] ## DESCRIPTION Set up a git repository if one doesn't exist, add all files and make an initial commit. ## OPTIONS <directory> The name of a new directory to setup. By default, the current working directory. ## EXAMPLES $ git setup path/to/repository ## AUTHOR Written by Aggelos Orfanakos <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-show-tree.1000066400000000000000000000036041216014334400171440ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://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> git-extras-1.9.0/man/git-show-tree.html000066400000000000000000000124551216014334400177540ustar00rootroot00000000000000 git-show-tree(1) - show branch tree of commit history
  1. git-show-tree(1)
  2. git-show-tree(1)

NAME

git-show-tree - 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

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-show-tree(1)
git-extras-1.9.0/man/git-show-tree.md000066400000000000000000000034271216014334400174070ustar00rootroot00000000000000git-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 ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-squash.1000066400000000000000000000020161216014334400165270ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-SQUASH" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-squash\fR \- Import changes form a branch . .SH "SYNOPSIS" \fBgit\-squash\fR [] . .SH "DESCRIPTION" Produce the working tree and index state as if a real merge happened without the commit or merge marks\. . .SH "OPTIONS" . .P Branch to squash on the actual branch\. . .P . .P If commit\-message is given, commit the squash result and delete the source\-branch\. . .SH "EXAMPLES" . .nf $ git squash my\-other\-branch Updating a2740f5\.\.533b19c Fast\-forward Squash commit \-\- not updating HEAD my\-changed\-file | 1 + 1 file changed, 1 insertion(+) $ git commit \-m "New commit without a real merge" . .fi . .SH "AUTHOR" Written by Jesús Espino <\fIjespinog@gmail\.com\fR> . .SH "REPORTING BUGS" <\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttp://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-squash.html000066400000000000000000000111121216014334400173300ustar00rootroot00000000000000 git-squash(1) - Import changes form a branch
  1. git-squash(1)
  2. git-squash(1)

NAME

git-squash - Import changes form a branch

SYNOPSIS

git-squash <source-branch> [<commit-message>]

DESCRIPTION

Produce the working tree and index state as if a real merge happened without the commit or merge marks.

OPTIONS

<source-branch>

Branch to squash on the actual branch.

<commit-message>

If commit-message is given, commit the squash result and delete the source-branch.

EXAMPLES

$ git squash my-other-branch
Updating a2740f5..533b19c
Fast-forward
Squash commit -- not updating HEAD
 my-changed-file | 1 +
 1 file changed, 1 insertion(+)
$ git commit -m "New commit without a real merge"

AUTHOR

Written by Jesús Espino <jespinog@gmail.com>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-squash(1)
git-extras-1.9.0/man/git-squash.md000066400000000000000000000016601216014334400167730ustar00rootroot00000000000000git-squash(1) -- Import changes form a branch ============================================= ## SYNOPSIS `git-squash` <source-branch> [<commit-message>] ## DESCRIPTION Produce the working tree and index state as if a real merge happened without the commit or merge marks. ## OPTIONS <source-branch> Branch to squash on the actual branch. <commit-message> If commit-message is given, commit the squash result and delete the source-branch. ## EXAMPLES $ git squash my-other-branch Updating a2740f5..533b19c Fast-forward Squash commit -- not updating HEAD my-changed-file | 1 + 1 file changed, 1 insertion(+) $ git commit -m "New commit without a real merge" ## AUTHOR Written by Jesús Espino <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-summary.1000066400000000000000000000024401216014334400167210ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-SUMMARY" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-summary\fR \- Show repository summary . .SH "SYNOPSIS" \fBgit\-summary\fR [] . .SH "DESCRIPTION" Shows a summary of the repository\. . .SH "OPTIONS" . .P Summarize only the range of commits included in the \. . .SH "EXAMPLES" Outputs a repo summary: . .IP "" 4 . .nf $ git summary project : express repo age : 10 months ago commits : 1893 active : 93 days files : 111 authors : 1285 visionmedia 478 Tj Holowaychuk 48 Aaron Heckmann 34 csausdev 26 ciaranj 6 Guillermo Rauch 3 Nick Poulden 2 Brian McKinney 2 Benny Wong 1 Justin Lilly 1 James Herdman 1 Adam Sanderson 1 Viktor Kelemen 1 Gregory Ritter 1 Greg Ritter 1 ewoudj 1 isaacs 1 Matt Colyer . .fi . .IP "" 0 . .P This command can also take a commitish, and will print a summary for the range of commits included in the commitish: . .IP "" 4 . .nf $ git summary v42\.\. . .fi . .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> git-extras-1.9.0/man/git-summary.html000066400000000000000000000115031216014334400175250ustar00rootroot00000000000000 git-summary(1) - Show repository summary
  1. git-summary(1)
  2. git-summary(1)

NAME

git-summary - Show repository summary

SYNOPSIS

git-summary [<commitish>]

DESCRIPTION

Shows a summary of the repository.

OPTIONS

<commitish>

Summarize only the range of commits included in the <commitish>.

EXAMPLES

Outputs a repo summary:

$ git summary

project  : express
repo age : 10 months ago
commits  : 1893
active   : 93 days
files    : 111
authors  :
 1285 visionmedia
  478 Tj Holowaychuk
   48 Aaron Heckmann
   34 csausdev
   26 ciaranj
    6 Guillermo Rauch
    3 Nick Poulden
    2 Brian McKinney
    2 Benny Wong
    1 Justin Lilly
    1 James Herdman
    1 Adam Sanderson
    1 Viktor Kelemen
    1 Gregory Ritter
    1 Greg Ritter
    1 ewoudj
    1 isaacs
    1 Matt Colyer

This command can also take a commitish, and will print a summary for the range of commits included in the commitish:

$ git summary v42..

AUTHOR

Written by Tj Holowaychuk <tj@vision-media.ca>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-summary(1)
git-extras-1.9.0/man/git-summary.md000066400000000000000000000023351216014334400171640ustar00rootroot00000000000000git-summary(1) -- Show repository summary ========================================= ## SYNOPSIS `git-summary` [<commitish>] ## DESCRIPTION Shows a summary of the repository. ## OPTIONS <commitish> Summarize only the range of commits included in the <commitish>. ## EXAMPLES Outputs a repo summary: $ git summary project : express repo age : 10 months ago commits : 1893 active : 93 days files : 111 authors : 1285 visionmedia 478 Tj Holowaychuk 48 Aaron Heckmann 34 csausdev 26 ciaranj 6 Guillermo Rauch 3 Nick Poulden 2 Brian McKinney 2 Benny Wong 1 Justin Lilly 1 James Herdman 1 Adam Sanderson 1 Viktor Kelemen 1 Gregory Ritter 1 Greg Ritter 1 ewoudj 1 isaacs 1 Matt Colyer This command can also take a commitish, and will print a summary for the range of commits included in the commitish: $ git summary v42.. ## AUTHOR Written by Tj Holowaychuk <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-touch.1000066400000000000000000000012271216014334400163500ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-TOUCH" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-touch\fR \- Touch and add file to the index . .SH "SYNOPSIS" \fBgit\-touch\fR . .SH "DESCRIPTION" Call \fBtouch\fR on the given file and add it to the current index\. Used one\-step creating new files\. . .SH "OPTIONS" . .P File to be touched\. . .SH "EXAMPLES" $ git touch Makefile . .SH "AUTHOR" Written by Alex McHale <\fIalexmchale@gmail\.com\fR> . .SH "REPORTING BUGS" <\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> . .SH "SEE ALSO" <\fIhttp://github\.com/visionmedia/git\-extras\fR> git-extras-1.9.0/man/git-touch.html000066400000000000000000000103401216014334400171500ustar00rootroot00000000000000 git-touch(1) - Touch and add file to the index
  1. git-touch(1)
  2. git-touch(1)

NAME

git-touch - Touch and add file to the index

SYNOPSIS

git-touch <filename>

DESCRIPTION

Call touch on the given file and add it to the current index. Used one-step creating new files.

OPTIONS

<filename>

File to be touched.

EXAMPLES

$ git touch Makefile

AUTHOR

Written by Alex McHale <alexmchale@gmail.com>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-touch(1)
git-extras-1.9.0/man/git-touch.md000066400000000000000000000010571216014334400166110ustar00rootroot00000000000000git-touch(1) -- Touch and add file to the index =============================================== ## SYNOPSIS `git-touch` <filename> ## DESCRIPTION Call `touch` on the given file and add it to the current index. Used one-step creating new files. ## OPTIONS <filename> File to be touched. ## EXAMPLES $ git touch Makefile ## AUTHOR Written by Alex McHale <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/git-undo.1000066400000000000000000000020741216014334400161740ustar00rootroot00000000000000.\" generated with Ronn/v0.7.3 .\" https://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-UNDO" "1" "July 2012" "" "" . .SH "NAME" \fBgit\-undo\fR \- Remove latest commits . .SH "SYNOPSIS" \fBgit\-undo\fR [] [\-s, \-\-soft, \-h, \-\-hard] . .SH "DESCRIPTION" Removes the latest commits\. . .SH "OPTIONS" \-\-soft or \-s . .P This is the default, only rolls back the commit but changes remain un\-staged\. . .P \-\-hard or \-h . .P This option wipes your commit(s), so that your changes cannot be recovered\. Use with care\. . .P . .P Number of commits to remove\. Defaults to \fI1\fR, thus remove the latest commit\. . .SH "EXAMPLES" Removes the latest commit\. . .IP "" 4 . .nf $ git undo . .fi . .IP "" 0 . .P Remove the latest 3 commits: . .IP "" 4 . .nf $ git undo 3 . .fi . .IP "" 0 . .SH "AUTHOR" Written by Kenneth Reitz <\fIme@kennethreitz\.com\fR> and 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> git-extras-1.9.0/man/git-undo.html000066400000000000000000000116031216014334400167760ustar00rootroot00000000000000 git-undo(1) - Remove latest commits
  1. git-undo(1)
  2. git-undo(1)

NAME

git-undo - Remove latest commits

SYNOPSIS

git-undo [<commitcount>] [-s, --soft, -h, --hard]

DESCRIPTION

Removes the latest commits.

OPTIONS

--soft or -s

This is the default, only rolls back the commit but changes remain un-staged.

--hard or -h

This option wipes your commit(s), so that your changes cannot be recovered. Use with care.

<commitcount>

Number of commits to remove. Defaults to 1, thus remove the latest commit.

EXAMPLES

Removes the latest commit.

$ git undo

Remove the latest 3 commits:

$ git undo 3

AUTHOR

Written by Kenneth Reitz <me@kennethreitz.com> and Nick Lombard <github@jigsoft.co.za>

REPORTING BUGS

<https://github.com/visionmedia/git-extras/issues>

SEE ALSO

<https://github.com/visionmedia/git-extras>

  1. July 2012
  2. git-undo(1)
git-extras-1.9.0/man/git-undo.md000066400000000000000000000015641216014334400164370ustar00rootroot00000000000000git-undo(1) -- Remove latest commits ==================================== ## SYNOPSIS `git-undo` [<commitcount>] [-s, --soft, -h, --hard] ## DESCRIPTION Removes the latest commits. ## OPTIONS --soft or -s This is the default, only rolls back the commit but changes remain un-staged. --hard or -h This option wipes your commit(s), so that your changes cannot be recovered. Use with care. <commitcount> Number of commits to remove. Defaults to *1*, thus remove the latest commit. ## EXAMPLES Removes the latest commit. $ git undo Remove the latest 3 commits: $ git undo 3 ## AUTHOR Written by Kenneth Reitz <> and Nick Lombard <> ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/index.txt000066400000000000000000000025031216014334400162310ustar00rootroot00000000000000# manuals git-alias(1) git-alias git-back(1) git-back git-bug(1) git-bug git-changelog(1) git-changelog git-commits-since(1) git-commits-since git-contrib(1) git-contrib git-count(1) git-count git-create-branch(1) git-create-branch git-delete-branch(1) git-delete-branch git-delete-merged-branches(1) git-delete-merged-branches git-delete-submodule(1) git-delete-submodule git-delete-tag(1) git-delete-tag git-effort(1) git-effort git-extras(1) git-extras git-feature(1) git-feature git-fresh-branch(1) git-fresh-branch git-gh-pages(1) git-gh-pages git-graft(1) git-graft git-ignore(1) git-ignore git-info(1) git-info git-local-commits(1) git-local-commits git-refactor(1) git-refactor git-release(1) git-release git-rename-tag(1) git-rename-tag git-repl(1) git-repl git-setup(1) git-setup git-show-tree(1) git-show-tree git-squash(1) git-squash git-summary(1) git-summary git-touch(1) git-touch git-undo(1) git-undo git-extras-1.9.0/man/man-template.md000066400000000000000000000005431216014334400172710ustar00rootroot00000000000000(1) -- ================================ ## SYNOPSIS `` [OPTIONS] ## DESCRIPTION ## OPTIONS ## EXAMPLES ## AUTHOR Written by [and ] ## REPORTING BUGS <> ## SEE ALSO <> git-extras-1.9.0/man/manning-up.sh000077500000000000000000000014371216014334400167760ustar00rootroot00000000000000#!/bin/bash test "$1" && ronn $1 && mv -f ${1/.md/}.1.html ${1/.md/}.html && exit 0 echo '# manuals' > index.txt.tmp ln=$(awk '/## COMMANDS/{print NR};' ./git-extras.md) awk "NR <= $ln+1" git-extras.md > git-extras.md.tmp for file in $(ls git*.md); do extra=${file/.md/} spaced=" " echo "$extra(1)${spaced:${#extra}}$extra" >> index.txt.tmp; title=$(grep -m=1 $extra"(1) -- " $file) test "$extra" != "git-extras" && echo " - **"${title/" --"/"**"} >> git-extras.md.tmp done ln=$(awk '/## AUTHOR/{print NR};' ./git-extras.md) awk "NR >= $ln-1" git-extras.md >> git-extras.md.tmp && mv -f index.txt.tmp index.txt && mv -f git-extras.md.tmp git-extras.md for file in $(ls git*.md); do extra=${file/.md/} ronn $file && mv -f $extra.1.html $extra.html done