From 4c9a87025d02113465574fddf9b01b18692e84a4 Mon Sep 17 00:00:00 2001 From: Jonhnny Weslley Date: Fri, 8 Oct 2010 10:14:29 -0300 Subject: [PATCH 01/15] show ignored files if no arguments are provided --- bin/git-ignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/git-ignore b/bin/git-ignore index 7747dcb..d7a6fed 100755 --- a/bin/git-ignore +++ b/bin/git-ignore @@ -1,10 +1,10 @@ #!/bin/sh if test $# -eq 0; then - echo "arguments required" && exit 1 + cat .gitignore else for pattern in $@; do echo $pattern >> .gitignore echo "... added '$pattern'" done -fi \ No newline at end of file +fi From 6f98d7954aec3e5e398d255f54ec4467919496d5 Mon Sep 17 00:00:00 2001 From: Jonhnny Weslley Date: Fri, 8 Oct 2010 10:32:02 -0300 Subject: [PATCH 02/15] added git-delete-submodule for delete submodules easily --- AUTHORS | 1 + bin/git-delete-submodule | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100755 bin/git-delete-submodule diff --git a/AUTHORS b/AUTHORS index d1ac7f3..502a89e 100644 --- a/AUTHORS +++ b/AUTHORS @@ -15,3 +15,4 @@ Patches and Suggestions - Domenico Rotiroti - Jason Young - Nick Campbell +- Jonhnny Weslley diff --git a/bin/git-delete-submodule b/bin/git-delete-submodule new file mode 100755 index 0000000..a5472bf --- /dev/null +++ b/bin/git-delete-submodule @@ -0,0 +1,9 @@ +#!/bin/sh + +test -z $1 && echo "submodule required" && exit 1 +test ! -f .gitmodules && echo ".gitmodules file not found" && exit 2 +test -z $(git config --file=.gitmodules submodule.$1.url) && echo "submodule not found" && exit 3 + +git config --remove-section submodule.$1 +git config --file=.gitmodules --remove-section submodule.$1 +git rm --cached $1 From 672beba34b849e15534f801bb61e42f8ac34ae1a Mon Sep 17 00:00:00 2001 From: Jonhnny Weslley Date: Fri, 8 Oct 2010 10:39:25 -0300 Subject: [PATCH 03/15] add some usage notes to git-delete-submodule --- Readme.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Readme.md b/Readme.md index 69a8c10..976fbab 100644 --- a/Readme.md +++ b/Readme.md @@ -20,6 +20,7 @@ Brew: - git commits-since - git count - git delete-branch + - git delete-submodule - git delete-tag - git fresh-branch - git graft @@ -172,6 +173,12 @@ of commits included in the commitish: $ git delete-branch integration +## git-delete-submodule <name> + + Deletes submodule _name_. + + $ git delete-submodule lib/foo + ## git-delete-tag <name> Deletes local and remote tag _name_. From f9440c40efff428a1cc20bb4a5b8ef515e75059a Mon Sep 17 00:00:00 2001 From: Jonhnny Weslley Date: Fri, 8 Oct 2010 11:48:10 -0300 Subject: [PATCH 04/15] automatically remove trailing slash from argument if it exists --- bin/git-delete-submodule | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bin/git-delete-submodule b/bin/git-delete-submodule index a5472bf..ceb1fa9 100755 --- a/bin/git-delete-submodule +++ b/bin/git-delete-submodule @@ -2,8 +2,10 @@ test -z $1 && echo "submodule required" && exit 1 test ! -f .gitmodules && echo ".gitmodules file not found" && exit 2 -test -z $(git config --file=.gitmodules submodule.$1.url) && echo "submodule not found" && exit 3 -git config --remove-section submodule.$1 -git config --file=.gitmodules --remove-section submodule.$1 -git rm --cached $1 +NAME=$(echo $1 | sed 's/\/$//g') +test -z $(git config --file=.gitmodules submodule.$NAME.url) && echo "submodule not found" && exit 3 + +git config --remove-section submodule.$NAME +git config --file=.gitmodules --remove-section submodule.$NAME +git rm --cached $NAME From 81296601e9cc0ee24e7ab0af9986e53ae0266d68 Mon Sep 17 00:00:00 2001 From: Jonhnny Weslley Date: Wed, 27 Oct 2010 17:14:38 -0300 Subject: [PATCH 05/15] man pages support --- Makefile | 14 +++++++++++++- man/man-template.1.ronn | 24 ++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 man/man-template.1.ronn diff --git a/Makefile b/Makefile index ec13625..fc08e57 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,22 @@ PREFIX ?= /usr/local +MANPATH= "$(PREFIX)/share/man/man1" BINS = $(wildcard bin/git-*) +MANS = $(wildcard man/git-*.ronn) -install: +install: clean @echo "... installing to $(PREFIX)/bin" @$(foreach BIN, $(BINS), \ echo "... installing `basename $(BIN)`"; \ cp -f $(BIN) $(PREFIX)/$(BIN); \ ) + @mkdir -p $(MANPATH) + @$(foreach MAN, $(MANS), \ + echo "... generating manual `basename $(MAN)`"; \ + ronn --manual="Git Extras" $(MAN); \ + ) + @gzip man/*.1 + @cp -f man/*.1.gz $(MANPATH) uninstall: @$(foreach BIN, $(BINS), \ @@ -15,4 +24,7 @@ uninstall: rm -f $(PREFIX)/$(BIN); \ ) +clean: + rm -f man/git-*.gz man/git-*.html + .PHONY: install uninstall diff --git a/man/man-template.1.ronn b/man/man-template.1.ronn new file mode 100644 index 0000000..c2e99e6 --- /dev/null +++ b/man/man-template.1.ronn @@ -0,0 +1,24 @@ +(1) -- +================================ + +## SYNOPSIS + +`` [OPTIONS] + +## DESCRIPTION + +## OPTIONS + +## EXAMPLES + +## AUTHOR + +Written by [and ] + +## REPORTING BUGS + +<> + +## SEE ALSO + +<> From eb6c2bb009ea382d45ce81e50f256438da1df916 Mon Sep 17 00:00:00 2001 From: Jonhnny Weslley Date: Fri, 29 Oct 2010 12:45:29 -0300 Subject: [PATCH 06/15] first manual's version --- man/git-changelog.1.ronn | 49 ++++++++++++++++++++++++++ man/git-commits-since.1.ronn | 30 ++++++++++++++++ man/git-contrib.1.ronn | 39 +++++++++++++++++++++ man/git-count.1.ronn | 62 +++++++++++++++++++++++++++++++++ man/git-delete-branch.1.ronn | 32 +++++++++++++++++ man/git-delete-submodule.1.ronn | 30 ++++++++++++++++ man/git-delete-tag.1.ronn | 32 +++++++++++++++++ man/git-fresh-branch.1.ronn | 32 +++++++++++++++++ man/git-graft.1.ronn | 33 ++++++++++++++++++ man/git-ignore.1.ronn | 40 +++++++++++++++++++++ man/git-release.1.ronn | 32 +++++++++++++++++ man/git-repl.1.ronn | 41 ++++++++++++++++++++++ man/git-setup.1.ronn | 32 +++++++++++++++++ man/git-summary.1.ronn | 62 +++++++++++++++++++++++++++++++++ man/git-touch.1.ronn | 32 +++++++++++++++++ man/git-undo.1.ronn | 38 ++++++++++++++++++++ man/git-update-extras.1.ronn | 22 ++++++++++++ 17 files changed, 638 insertions(+) create mode 100644 man/git-changelog.1.ronn create mode 100644 man/git-commits-since.1.ronn create mode 100644 man/git-contrib.1.ronn create mode 100644 man/git-count.1.ronn create mode 100644 man/git-delete-branch.1.ronn create mode 100644 man/git-delete-submodule.1.ronn create mode 100644 man/git-delete-tag.1.ronn create mode 100644 man/git-fresh-branch.1.ronn create mode 100644 man/git-graft.1.ronn create mode 100644 man/git-ignore.1.ronn create mode 100644 man/git-release.1.ronn create mode 100644 man/git-repl.1.ronn create mode 100644 man/git-setup.1.ronn create mode 100644 man/git-summary.1.ronn create mode 100644 man/git-touch.1.ronn create mode 100644 man/git-undo.1.ronn create mode 100644 man/git-update-extras.1.ronn diff --git a/man/git-changelog.1.ronn b/man/git-changelog.1.ronn new file mode 100644 index 0000000..81f5d8b --- /dev/null +++ b/man/git-changelog.1.ronn @@ -0,0 +1,49 @@ +git-changelog(1) -- Generate the changelog report +================================================= + +## SYNOPSIS + +`git-changelog` [--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 + + --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 + +<> diff --git a/man/git-commits-since.1.ronn b/man/git-commits-since.1.ronn new file mode 100644 index 0000000..dfc046f --- /dev/null +++ b/man/git-commits-since.1.ronn @@ -0,0 +1,30 @@ +git-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 + +## AUTHOR + +Written by Tj Holowaychuk <> + +## REPORTING BUGS + +<> + +## SEE ALSO + +<> diff --git a/man/git-contrib.1.ronn b/man/git-contrib.1.ronn new file mode 100644 index 0000000..ba666fd --- /dev/null +++ b/man/git-contrib.1.ronn @@ -0,0 +1,39 @@ +git-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 + +<> diff --git a/man/git-count.1.ronn b/man/git-count.1.ronn new file mode 100644 index 0000000..c3e474b --- /dev/null +++ b/man/git-count.1.ronn @@ -0,0 +1,62 @@ +git-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 + +<> diff --git a/man/git-delete-branch.1.ronn b/man/git-delete-branch.1.ronn new file mode 100644 index 0000000..7cb0d24 --- /dev/null +++ b/man/git-delete-branch.1.ronn @@ -0,0 +1,32 @@ +git-delete-branch(1) -- 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 <> + +## REPORTING BUGS + +<> + +## SEE ALSO + +<> diff --git a/man/git-delete-submodule.1.ronn b/man/git-delete-submodule.1.ronn new file mode 100644 index 0000000..db57e3f --- /dev/null +++ b/man/git-delete-submodule.1.ronn @@ -0,0 +1,30 @@ +git-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 + +<> diff --git a/man/git-delete-tag.1.ronn b/man/git-delete-tag.1.ronn new file mode 100644 index 0000000..f77909c --- /dev/null +++ b/man/git-delete-tag.1.ronn @@ -0,0 +1,32 @@ +git-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 + +<> diff --git a/man/git-fresh-branch.1.ronn b/man/git-fresh-branch.1.ronn new file mode 100644 index 0000000..2c4ab52 --- /dev/null +++ b/man/git-fresh-branch.1.ronn @@ -0,0 +1,32 @@ +git-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 delete. + +## EXAMPLES + + $ git fresh-branch docs + +## AUTHOR + +Written by Kenneth Reitz <> + +## REPORTING BUGS + +<> + +## SEE ALSO + +<> diff --git a/man/git-graft.1.ronn b/man/git-graft.1.ronn new file mode 100644 index 0000000..22bd18e --- /dev/null +++ b/man/git-graft.1.ronn @@ -0,0 +1,33 @@ +git-graft(1) -- Merge commits together +====================================== + +## SYNOPSIS + +`git-graft` <src-branch> [<dest-branch>] + +## DESCRIPTION + + Merge commits from <src-branch> into <dest-branch> which defaults to <master>. + +## OPTIONS + + <src-branch> + + <dest-branch> + +## EXAMPLES + + $ git graft new_feature dev + $ git graft new_feature + +## AUTHOR + +Written by Kenneth Reitz <> + +## REPORTING BUGS + +<> + +## SEE ALSO + +<> diff --git a/man/git-ignore.1.ronn b/man/git-ignore.1.ronn new file mode 100644 index 0000000..75b3bd9 --- /dev/null +++ b/man/git-ignore.1.ronn @@ -0,0 +1,40 @@ +git-ignore(1) -- Ignore untracked files +======================================= + +## SYNOPSIS + +`git-ignore` [<pattern>...] + +## DESCRIPTION + +Adds the given _pattern_s to a gitignore file. + +## OPTIONS + +## EXAMPLES + + To lazy to open up _.gitignore_? me too! simply pass some patterns: + + $ git ignore build "*.o" "*.log" + ... added 'build' + ... added '*.o' + ... added '*.log' + + Running `git-ignore` without a pattern will display the current patterns: + + $ git ignore + build + *.o + *.log + +## AUTHOR + +Written by Tj Holowaychuk <> + +## REPORTING BUGS + +<> + +## SEE ALSO + +<> diff --git a/man/git-release.1.ronn b/man/git-release.1.ronn new file mode 100644 index 0000000..ec14bb6 --- /dev/null +++ b/man/git-release.1.ronn @@ -0,0 +1,32 @@ +git-release(1) -- Commit, tag and push changes to the repository +================================================================ + +## SYNOPSIS + +`git-release` <tagname> + +## DESCRIPTION + + Commits changes with message "Release <tagname>", tags with the given <tagname> and pushes the branch / tags. + +## OPTIONS + + <tagname> + +## EXAMPLES + + Release commit with the given <tagname>. + + $ git release 0.1.0 + +## AUTHOR + +Written by Tj Holowaychuk <> + +## REPORTING BUGS + +<> + +## SEE ALSO + +<> diff --git a/man/git-repl.1.ronn b/man/git-repl.1.ronn new file mode 100644 index 0000000..3d884bb --- /dev/null +++ b/man/git-repl.1.ronn @@ -0,0 +1,41 @@ +git-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 + +<> diff --git a/man/git-setup.1.ronn b/man/git-setup.1.ronn new file mode 100644 index 0000000..aa7a780 --- /dev/null +++ b/man/git-setup.1.ronn @@ -0,0 +1,32 @@ +git-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 + +<> diff --git a/man/git-summary.1.ronn b/man/git-summary.1.ronn new file mode 100644 index 0000000..8544f79 --- /dev/null +++ b/man/git-summary.1.ronn @@ -0,0 +1,62 @@ +git-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 + commits: 1893 + 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 + +<> diff --git a/man/git-touch.1.ronn b/man/git-touch.1.ronn new file mode 100644 index 0000000..e85ee5f --- /dev/null +++ b/man/git-touch.1.ronn @@ -0,0 +1,32 @@ +git-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 + +<> diff --git a/man/git-undo.1.ronn b/man/git-undo.1.ronn new file mode 100644 index 0000000..55f344c --- /dev/null +++ b/man/git-undo.1.ronn @@ -0,0 +1,38 @@ +git-undo(1) -- Remove latest commits +==================================== + +## SYNOPSIS + +`git-undo` [<commitcount>] + +## DESCRIPTION + + Removes the latest commits. + +## OPTIONS + + <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 <> + +## REPORTING BUGS + +<> + +## SEE ALSO + +<> diff --git a/man/git-update-extras.1.ronn b/man/git-update-extras.1.ronn new file mode 100644 index 0000000..89ce316 --- /dev/null +++ b/man/git-update-extras.1.ronn @@ -0,0 +1,22 @@ +git-update-extras(1) -- Updates git extras +========================================== + +## SYNOPSIS + +`git-update-extras` + +## DESCRIPTION + + Updates git extras. Clones the repo to _/tmp/git-extras_, make installs, then cds back to the origin directory. + +## AUTHOR + +Written by Tj Holowaychuk <> + +## REPORTING BUGS + +<> + +## SEE ALSO + +<> From 01f7eb07c24e981993cb576fe2d0e97c18cb17de Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Sun, 31 Oct 2010 11:33:50 -0700 Subject: [PATCH 07/15] misc makefile fixes --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fc08e57..5e7a001 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ PREFIX ?= /usr/local -MANPATH= "$(PREFIX)/share/man/man1" +MANPATH ?= "$(PREFIX)/share/man/man1" BINS = $(wildcard bin/git-*) MANS = $(wildcard man/git-*.ronn) -install: clean +install: clean @echo "... installing to $(PREFIX)/bin" @$(foreach BIN, $(BINS), \ echo "... installing `basename $(BIN)`"; \ @@ -12,7 +12,7 @@ install: clean ) @mkdir -p $(MANPATH) @$(foreach MAN, $(MANS), \ - echo "... generating manual `basename $(MAN)`"; \ + echo "... generating man page `basename $(MAN)`"; \ ronn --manual="Git Extras" $(MAN); \ ) @gzip man/*.1 From df322db5b3f9119a1aa12872f89f00619231e142 Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Sun, 31 Oct 2010 11:34:57 -0700 Subject: [PATCH 08/15] Added gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..919d506 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +man/*.html +man/*.gz From 12338255194f33c13ccd0b85ae8a75bb58a4d1ff Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Sun, 31 Oct 2010 11:41:30 -0700 Subject: [PATCH 09/15] Renamed man pages to *.md --- Makefile | 2 +- man/{git-changelog.1.ronn => git-changelog.md} | 0 man/{git-commits-since.1.ronn => git-commits-since.md} | 0 man/{git-contrib.1.ronn => git-contrib.md} | 0 man/{git-count.1.ronn => git-count.md} | 0 man/{git-delete-branch.1.ronn => git-delete-branch.md} | 0 man/{git-delete-submodule.1.ronn => git-delete-submodule.md} | 0 man/{git-delete-tag.1.ronn => git-delete-tag.md} | 0 man/{git-fresh-branch.1.ronn => git-fresh-branch.md} | 0 man/{git-graft.1.ronn => git-graft.md} | 0 man/{git-ignore.1.ronn => git-ignore.md} | 0 man/{git-release.1.ronn => git-release.md} | 0 man/{git-repl.1.ronn => git-repl.md} | 0 man/{git-setup.1.ronn => git-setup.md} | 0 man/{git-summary.1.ronn => git-summary.md} | 0 man/{git-touch.1.ronn => git-touch.md} | 0 man/{git-undo.1.ronn => git-undo.md} | 0 man/{git-update-extras.1.ronn => git-update-extras.md} | 0 man/{man-template.1.ronn => man-template.md} | 0 19 files changed, 1 insertion(+), 1 deletion(-) rename man/{git-changelog.1.ronn => git-changelog.md} (100%) rename man/{git-commits-since.1.ronn => git-commits-since.md} (100%) rename man/{git-contrib.1.ronn => git-contrib.md} (100%) rename man/{git-count.1.ronn => git-count.md} (100%) rename man/{git-delete-branch.1.ronn => git-delete-branch.md} (100%) rename man/{git-delete-submodule.1.ronn => git-delete-submodule.md} (100%) rename man/{git-delete-tag.1.ronn => git-delete-tag.md} (100%) rename man/{git-fresh-branch.1.ronn => git-fresh-branch.md} (100%) rename man/{git-graft.1.ronn => git-graft.md} (100%) rename man/{git-ignore.1.ronn => git-ignore.md} (100%) rename man/{git-release.1.ronn => git-release.md} (100%) rename man/{git-repl.1.ronn => git-repl.md} (100%) rename man/{git-setup.1.ronn => git-setup.md} (100%) rename man/{git-summary.1.ronn => git-summary.md} (100%) rename man/{git-touch.1.ronn => git-touch.md} (100%) rename man/{git-undo.1.ronn => git-undo.md} (100%) rename man/{git-update-extras.1.ronn => git-update-extras.md} (100%) rename man/{man-template.1.ronn => man-template.md} (100%) diff --git a/Makefile b/Makefile index 5e7a001..a79e252 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ MANPATH ?= "$(PREFIX)/share/man/man1" BINS = $(wildcard bin/git-*) MANS = $(wildcard man/git-*.ronn) -install: clean +install: @echo "... installing to $(PREFIX)/bin" @$(foreach BIN, $(BINS), \ echo "... installing `basename $(BIN)`"; \ diff --git a/man/git-changelog.1.ronn b/man/git-changelog.md similarity index 100% rename from man/git-changelog.1.ronn rename to man/git-changelog.md diff --git a/man/git-commits-since.1.ronn b/man/git-commits-since.md similarity index 100% rename from man/git-commits-since.1.ronn rename to man/git-commits-since.md diff --git a/man/git-contrib.1.ronn b/man/git-contrib.md similarity index 100% rename from man/git-contrib.1.ronn rename to man/git-contrib.md diff --git a/man/git-count.1.ronn b/man/git-count.md similarity index 100% rename from man/git-count.1.ronn rename to man/git-count.md diff --git a/man/git-delete-branch.1.ronn b/man/git-delete-branch.md similarity index 100% rename from man/git-delete-branch.1.ronn rename to man/git-delete-branch.md diff --git a/man/git-delete-submodule.1.ronn b/man/git-delete-submodule.md similarity index 100% rename from man/git-delete-submodule.1.ronn rename to man/git-delete-submodule.md diff --git a/man/git-delete-tag.1.ronn b/man/git-delete-tag.md similarity index 100% rename from man/git-delete-tag.1.ronn rename to man/git-delete-tag.md diff --git a/man/git-fresh-branch.1.ronn b/man/git-fresh-branch.md similarity index 100% rename from man/git-fresh-branch.1.ronn rename to man/git-fresh-branch.md diff --git a/man/git-graft.1.ronn b/man/git-graft.md similarity index 100% rename from man/git-graft.1.ronn rename to man/git-graft.md diff --git a/man/git-ignore.1.ronn b/man/git-ignore.md similarity index 100% rename from man/git-ignore.1.ronn rename to man/git-ignore.md diff --git a/man/git-release.1.ronn b/man/git-release.md similarity index 100% rename from man/git-release.1.ronn rename to man/git-release.md diff --git a/man/git-repl.1.ronn b/man/git-repl.md similarity index 100% rename from man/git-repl.1.ronn rename to man/git-repl.md diff --git a/man/git-setup.1.ronn b/man/git-setup.md similarity index 100% rename from man/git-setup.1.ronn rename to man/git-setup.md diff --git a/man/git-summary.1.ronn b/man/git-summary.md similarity index 100% rename from man/git-summary.1.ronn rename to man/git-summary.md diff --git a/man/git-touch.1.ronn b/man/git-touch.md similarity index 100% rename from man/git-touch.1.ronn rename to man/git-touch.md diff --git a/man/git-undo.1.ronn b/man/git-undo.md similarity index 100% rename from man/git-undo.1.ronn rename to man/git-undo.md diff --git a/man/git-update-extras.1.ronn b/man/git-update-extras.md similarity index 100% rename from man/git-update-extras.1.ronn rename to man/git-update-extras.md diff --git a/man/man-template.1.ronn b/man/man-template.md similarity index 100% rename from man/man-template.1.ronn rename to man/man-template.md From c64a82b76eea88a31291beed64dd07df63579be0 Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Sun, 31 Oct 2010 11:47:11 -0700 Subject: [PATCH 10/15] Started new makefile for docs --- Makefile | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index a79e252..92fa695 100644 --- a/Makefile +++ b/Makefile @@ -2,21 +2,25 @@ PREFIX ?= /usr/local MANPATH ?= "$(PREFIX)/share/man/man1" BINS = $(wildcard bin/git-*) -MANS = $(wildcard man/git-*.ronn) +MANS = $(wildcard man/git-*.md) +MAN_HTML = $(MANS:.md=.html) +MAN_PAGES = $(MANS:.md=.1) install: + @mkdir -p $(MANPATH) @echo "... installing to $(PREFIX)/bin" @$(foreach BIN, $(BINS), \ echo "... installing `basename $(BIN)`"; \ cp -f $(BIN) $(PREFIX)/$(BIN); \ ) - @mkdir -p $(MANPATH) - @$(foreach MAN, $(MANS), \ - echo "... generating man page `basename $(MAN)`"; \ - ronn --manual="Git Extras" $(MAN); \ - ) - @gzip man/*.1 - @cp -f man/*.1.gz $(MANPATH) + +docs: $(MAN_HTML) $(MAN_PAGES) + +man/%.html: man/%.md + @echo "$< > $@" + +man/%.1: man/%.md + @echo "$< > $@" uninstall: @$(foreach BIN, $(BINS), \ @@ -27,4 +31,4 @@ uninstall: clean: rm -f man/git-*.gz man/git-*.html -.PHONY: install uninstall +.PHONY: docs install uninstall From e9dbcd19f9b9e0180b28923aa7eafc2ef16c618f Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Sun, 31 Oct 2010 11:47:39 -0700 Subject: [PATCH 11/15] new `make clean` --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 92fa695..808a1ef 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,7 @@ uninstall: ) clean: - rm -f man/git-*.gz man/git-*.html + rm -f man/*.md + rm -f man/*.html .PHONY: docs install uninstall From ec756502d695dd37a37055c3ccd9634fb09e3074 Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Sun, 31 Oct 2010 11:48:02 -0700 Subject: [PATCH 12/15] typo --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 808a1ef..bd0c356 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ uninstall: ) clean: - rm -f man/*.md + rm -f man/*.1 rm -f man/*.html .PHONY: docs install uninstall From 99d324308b650a92717da0c188363d027653578c Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Sun, 31 Oct 2010 11:51:12 -0700 Subject: [PATCH 13/15] Built docs --- Makefile | 17 +++++++-- man/git-changelog.1 | 77 ++++++++++++++++++++++++++++++++++++++ man/git-commits-since.1 | 30 +++++++++++++++ man/git-contrib.1 | 43 +++++++++++++++++++++ man/git-count.1 | 77 ++++++++++++++++++++++++++++++++++++++ man/git-delete-branch.1 | 36 ++++++++++++++++++ man/git-delete-submodule.1 | 35 +++++++++++++++++ man/git-delete-tag.1 | 36 ++++++++++++++++++ man/git-fresh-branch.1 | 36 ++++++++++++++++++ man/git-graft.1 | 37 ++++++++++++++++++ man/git-ignore.1 | 56 +++++++++++++++++++++++++++ man/git-release.1 | 38 +++++++++++++++++++ man/git-repl.1 | 49 ++++++++++++++++++++++++ man/git-setup.1 | 36 ++++++++++++++++++ man/git-summary.1 | 77 ++++++++++++++++++++++++++++++++++++++ man/git-touch.1 | 31 +++++++++++++++ man/git-undo.1 | 54 ++++++++++++++++++++++++++ man/git-update-extras.1 | 22 +++++++++++ 18 files changed, 783 insertions(+), 4 deletions(-) create mode 100644 man/git-changelog.1 create mode 100644 man/git-commits-since.1 create mode 100644 man/git-contrib.1 create mode 100644 man/git-count.1 create mode 100644 man/git-delete-branch.1 create mode 100644 man/git-delete-submodule.1 create mode 100644 man/git-delete-tag.1 create mode 100644 man/git-fresh-branch.1 create mode 100644 man/git-graft.1 create mode 100644 man/git-ignore.1 create mode 100644 man/git-release.1 create mode 100644 man/git-repl.1 create mode 100644 man/git-setup.1 create mode 100644 man/git-summary.1 create mode 100644 man/git-touch.1 create mode 100644 man/git-undo.1 create mode 100644 man/git-update-extras.1 diff --git a/Makefile b/Makefile index bd0c356..5876a93 100644 --- a/Makefile +++ b/Makefile @@ -17,10 +17,17 @@ install: docs: $(MAN_HTML) $(MAN_PAGES) man/%.html: man/%.md - @echo "$< > $@" + ronn \ + --manual "Git Extras" \ + --html \ + --pipe \ + $< > $@ man/%.1: man/%.md - @echo "$< > $@" + ronn -r \ + --manual "Git Extras" \ + --pipe \ + $< > $@ uninstall: @$(foreach BIN, $(BINS), \ @@ -28,8 +35,10 @@ uninstall: rm -f $(PREFIX)/$(BIN); \ ) -clean: +clean: docclean + +docclean: rm -f man/*.1 rm -f man/*.html -.PHONY: docs install uninstall +.PHONY: docs clean docclean install uninstall diff --git a/man/git-changelog.1 b/man/git-changelog.1 new file mode 100644 index 0000000..73af36d --- /dev/null +++ b/man/git-changelog.1 @@ -0,0 +1,77 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-CHANGELOG" "1" "October 2010" "" "Git Extras" +. +.SH "NAME" +\fBgit\-changelog\fR \- Generate the changelog report +. +.SH "SYNOPSIS" +\fBgit\-changelog\fR [\-\-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" +\-\-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> diff --git a/man/git-commits-since.1 b/man/git-commits-since.1 new file mode 100644 index 0000000..7af161b --- /dev/null +++ b/man/git-commits-since.1 @@ -0,0 +1,30 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-COMMITS\-SINCE" "1" "October 2010" "" "Git Extras" +. +.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" +. +.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> diff --git a/man/git-contrib.1 b/man/git-contrib.1 new file mode 100644 index 0000000..e478a22 --- /dev/null +++ b/man/git-contrib.1 @@ -0,0 +1,43 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-CONTRIB" "1" "October 2010" "" "Git Extras" +. +.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> diff --git a/man/git-count.1 b/man/git-count.1 new file mode 100644 index 0000000..f0cff8b --- /dev/null +++ b/man/git-count.1 @@ -0,0 +1,77 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-COUNT" "1" "October 2010" "" "Git Extras" +. +.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> diff --git a/man/git-delete-branch.1 b/man/git-delete-branch.1 new file mode 100644 index 0000000..5b19eb5 --- /dev/null +++ b/man/git-delete-branch.1 @@ -0,0 +1,36 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-DELETE\-BRANCH" "1" "October 2010" "" "Git Extras" +. +.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> diff --git a/man/git-delete-submodule.1 b/man/git-delete-submodule.1 new file mode 100644 index 0000000..e4d5243 --- /dev/null +++ b/man/git-delete-submodule.1 @@ -0,0 +1,35 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-DELETE\-SUBMODULE" "1" "October 2010" "" "Git Extras" +. +.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> diff --git a/man/git-delete-tag.1 b/man/git-delete-tag.1 new file mode 100644 index 0000000..9290cf8 --- /dev/null +++ b/man/git-delete-tag.1 @@ -0,0 +1,36 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-DELETE\-TAG" "1" "October 2010" "" "Git Extras" +. +.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> diff --git a/man/git-fresh-branch.1 b/man/git-fresh-branch.1 new file mode 100644 index 0000000..73742a7 --- /dev/null +++ b/man/git-fresh-branch.1 @@ -0,0 +1,36 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-FRESH\-BRANCH" "1" "October 2010" "" "Git Extras" +. +.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 delete\. +. +.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> diff --git a/man/git-graft.1 b/man/git-graft.1 new file mode 100644 index 0000000..9b03ebb --- /dev/null +++ b/man/git-graft.1 @@ -0,0 +1,37 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-GRAFT" "1" "October 2010" "" "Git Extras" +. +.SH "NAME" +\fBgit\-graft\fR \- Merge commits together +. +.SH "SYNOPSIS" +\fBgit\-graft\fR [] +. +.SH "DESCRIPTION" +Merge commits from into which defaults to \. +. +.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> diff --git a/man/git-ignore.1 b/man/git-ignore.1 new file mode 100644 index 0000000..04a89bc --- /dev/null +++ b/man/git-ignore.1 @@ -0,0 +1,56 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-IGNORE" "1" "October 2010" "" "Git Extras" +. +.SH "NAME" +\fBgit\-ignore\fR \- Ignore untracked files +. +.SH "SYNOPSIS" +\fBgit\-ignore\fR [\.\.\.] +. +.SH "DESCRIPTION" +Adds the given _pattern_s to a gitignore file\. +. +.SH "OPTIONS" +. +.SH "EXAMPLES" +To lazy to open up \fI\.gitignore\fR? me too! simply pass some patterns: +. +.IP "" 4 +. +.nf + +$ git ignore build "*\.o" "*\.log" +\.\.\. added \'build\' + \.\.\. added \'*\.o\' +\.\.\. added \'*\.log\' +. +.fi +. +.IP "" 0 +. +.P +Running \fBgit\-ignore\fR without a pattern will display the current patterns: +. +.IP "" 4 +. +.nf + +$ git ignore +build +*\.o +*\.log +. +.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> diff --git a/man/git-release.1 b/man/git-release.1 new file mode 100644 index 0000000..56b41b2 --- /dev/null +++ b/man/git-release.1 @@ -0,0 +1,38 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-RELEASE" "1" "October 2010" "" "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" + +. +.SH "EXAMPLES" +Release commit with the given \. +. +.IP "" 4 +. +.nf + +$ git release 0\.1\.0 +. +.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> diff --git a/man/git-repl.1 b/man/git-repl.1 new file mode 100644 index 0000000..21c7c0b --- /dev/null +++ b/man/git-repl.1 @@ -0,0 +1,49 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-REPL" "1" "October 2010" "" "Git Extras" +. +.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> diff --git a/man/git-setup.1 b/man/git-setup.1 new file mode 100644 index 0000000..80bf5c5 --- /dev/null +++ b/man/git-setup.1 @@ -0,0 +1,36 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-SETUP" "1" "October 2010" "" "Git Extras" +. +.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> diff --git a/man/git-summary.1 b/man/git-summary.1 new file mode 100644 index 0000000..1a5ea4e --- /dev/null +++ b/man/git-summary.1 @@ -0,0 +1,77 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-SUMMARY" "1" "October 2010" "" "Git Extras" +. +.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 +commits: 1893 +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> diff --git a/man/git-touch.1 b/man/git-touch.1 new file mode 100644 index 0000000..9d18689 --- /dev/null +++ b/man/git-touch.1 @@ -0,0 +1,31 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-TOUCH" "1" "October 2010" "" "Git Extras" +. +.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> diff --git a/man/git-undo.1 b/man/git-undo.1 new file mode 100644 index 0000000..b4b6404 --- /dev/null +++ b/man/git-undo.1 @@ -0,0 +1,54 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-UNDO" "1" "October 2010" "" "Git Extras" +. +.SH "NAME" +\fBgit\-undo\fR \- Remove latest commits +. +.SH "SYNOPSIS" +\fBgit\-undo\fR [] +. +.SH "DESCRIPTION" +Removes the latest commits\. +. +.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 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> +. +.SH "REPORTING BUGS" +<\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> +. +.SH "SEE ALSO" +<\fIhttp://github\.com/visionmedia/git\-extras\fR> diff --git a/man/git-update-extras.1 b/man/git-update-extras.1 new file mode 100644 index 0000000..89169a2 --- /dev/null +++ b/man/git-update-extras.1 @@ -0,0 +1,22 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-UPDATE\-EXTRAS" "1" "October 2010" "" "Git Extras" +. +.SH "NAME" +\fBgit\-update\-extras\fR \- Updates git extras +. +.SH "SYNOPSIS" +\fBgit\-update\-extras\fR +. +.SH "DESCRIPTION" +Updates git extras\. Clones the repo to \fI/tmp/git\-extras\fR, make installs, then cds back to the origin directory\. +. +.SH "AUTHOR" +Written by Tj Holowaychuk <\fItj@vision\-media\.ca\fR> +. +.SH "REPORTING BUGS" +<\fIhttp://github\.com/visionmedia/git\-extras/issues\fR> +. +.SH "SEE ALSO" +<\fIhttp://github\.com/visionmedia/git\-extras\fR> From 0043345e68fc0ba158f118679f399f5d869c2186 Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Sun, 31 Oct 2010 11:51:24 -0700 Subject: [PATCH 14/15] Added html docs --- .gitignore | 3 +- man/git-changelog.html | 138 +++++++++++++++++++++++++++++++ man/git-commits-since.html | 114 ++++++++++++++++++++++++++ man/git-contrib.html | 124 ++++++++++++++++++++++++++++ man/git-count.html | 147 +++++++++++++++++++++++++++++++++ man/git-delete-branch.html | 117 +++++++++++++++++++++++++++ man/git-delete-submodule.html | 115 ++++++++++++++++++++++++++ man/git-delete-tag.html | 117 +++++++++++++++++++++++++++ man/git-fresh-branch.html | 117 +++++++++++++++++++++++++++ man/git-graft.html | 118 +++++++++++++++++++++++++++ man/git-ignore.html | 126 +++++++++++++++++++++++++++++ man/git-release.html | 117 +++++++++++++++++++++++++++ man/git-repl.html | 126 +++++++++++++++++++++++++++++ man/git-setup.html | 117 +++++++++++++++++++++++++++ man/git-summary.html | 148 ++++++++++++++++++++++++++++++++++ man/git-touch.html | 116 ++++++++++++++++++++++++++ man/git-undo.html | 124 ++++++++++++++++++++++++++++ man/git-update-extras.html | 104 ++++++++++++++++++++++++ 18 files changed, 2086 insertions(+), 2 deletions(-) create mode 100644 man/git-changelog.html create mode 100644 man/git-commits-since.html create mode 100644 man/git-contrib.html create mode 100644 man/git-count.html create mode 100644 man/git-delete-branch.html create mode 100644 man/git-delete-submodule.html create mode 100644 man/git-delete-tag.html create mode 100644 man/git-fresh-branch.html create mode 100644 man/git-graft.html create mode 100644 man/git-ignore.html create mode 100644 man/git-release.html create mode 100644 man/git-repl.html create mode 100644 man/git-setup.html create mode 100644 man/git-summary.html create mode 100644 man/git-touch.html create mode 100644 man/git-undo.html create mode 100644 man/git-update-extras.html diff --git a/.gitignore b/.gitignore index 919d506..8b13789 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -man/*.html -man/*.gz + diff --git a/man/git-changelog.html b/man/git-changelog.html new file mode 100644 index 0000000..a8c1624 --- /dev/null +++ b/man/git-changelog.html @@ -0,0 +1,138 @@ + + + + + + git-changelog(1) - Generate the changelog report + + + + +
+ + + +
    +
  1. git-changelog(1)
  2. +
  3. Git Extras
  4. +
  5. git-changelog(1)
  6. +
+ +

NAME

+

+ git-changelog - Generate the changelog report +

+ +

SYNOPSIS

+ +

git-changelog [--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

+ +

--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

+ +

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

+ +

SEE ALSO

+ +

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

+ + +
    +
  1. +
  2. October 2010
  3. +
  4. git-changelog(1)
  5. +
+ +
+ + diff --git a/man/git-commits-since.html b/man/git-commits-since.html new file mode 100644 index 0000000..4698cf3 --- /dev/null +++ b/man/git-commits-since.html @@ -0,0 +1,114 @@ + + + + + + git-commits-since(1) - Show commit logs since some date + + + + +
+ + + +
    +
  1. git-commits-since(1)
  2. +
  3. Git Extras
  4. +
  5. git-commits-since(1)
  6. +
+ +

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

+ +

AUTHOR

+ +

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

+ +

REPORTING BUGS

+ +

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

+ +

SEE ALSO

+ +

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

+ + +
    +
  1. +
  2. October 2010
  3. +
  4. git-commits-since(1)
  5. +
+ +
+ + diff --git a/man/git-contrib.html b/man/git-contrib.html new file mode 100644 index 0000000..1717c8b --- /dev/null +++ b/man/git-contrib.html @@ -0,0 +1,124 @@ + + + + + + git-contrib(1) - Show user's contributions + + + + +
+ + + +
    +
  1. git-contrib(1)
  2. +
  3. Git Extras
  4. +
  5. git-contrib(1)
  6. +
+ +

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

+ +

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

+ +

SEE ALSO

+ +

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

+ + +
    +
  1. +
  2. October 2010
  3. +
  4. git-contrib(1)
  5. +
+ +
+ + diff --git a/man/git-count.html b/man/git-count.html new file mode 100644 index 0000000..c0262a2 --- /dev/null +++ b/man/git-count.html @@ -0,0 +1,147 @@ + + + + + + git-count(1) - Show commit count + + + + +
+ + + +
    +
  1. git-count(1)
  2. +
  3. Git Extras
  4. +
  5. git-count(1)
  6. +
+ +

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

+ +

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

+ +

SEE ALSO

+ +

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

+ + +
    +
  1. +
  2. October 2010
  3. +
  4. git-count(1)
  5. +
+ +
+ + diff --git a/man/git-delete-branch.html b/man/git-delete-branch.html new file mode 100644 index 0000000..1987149 --- /dev/null +++ b/man/git-delete-branch.html @@ -0,0 +1,117 @@ + + + + + + git-delete-branch(1) - Delete branches + + + + +
+ + + +
    +
  1. git-delete-branch(1)
  2. +
  3. Git Extras
  4. +
  5. git-delete-branch(1)
  6. +
+ +

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

+ +

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

+ +

SEE ALSO

+ +

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

+ + +
    +
  1. +
  2. October 2010
  3. +
  4. git-delete-branch(1)
  5. +
+ +
+ + diff --git a/man/git-delete-submodule.html b/man/git-delete-submodule.html new file mode 100644 index 0000000..8957761 --- /dev/null +++ b/man/git-delete-submodule.html @@ -0,0 +1,115 @@ + + + + + + git-delete-submodule(1) - Delete submodules + + + + +
+ + + +
    +
  1. git-delete-submodule(1)
  2. +
  3. Git Extras
  4. +
  5. git-delete-submodule(1)
  6. +
+ +

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

+ +

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

+ +

SEE ALSO

+ +

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

+ + +
    +
  1. +
  2. October 2010
  3. +
  4. git-delete-submodule(1)
  5. +
+ +
+ + diff --git a/man/git-delete-tag.html b/man/git-delete-tag.html new file mode 100644 index 0000000..ef3b397 --- /dev/null +++ b/man/git-delete-tag.html @@ -0,0 +1,117 @@ + + + + + + git-delete-tag(1) - Delete tags + + + + +
+ + + +
    +
  1. git-delete-tag(1)
  2. +
  3. Git Extras
  4. +
  5. git-delete-tag(1)
  6. +
+ +

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

+ +

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

+ +

SEE ALSO

+ +

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

+ + +
    +
  1. +
  2. October 2010
  3. +
  4. git-delete-tag(1)
  5. +
+ +
+ + diff --git a/man/git-fresh-branch.html b/man/git-fresh-branch.html new file mode 100644 index 0000000..87e8fed --- /dev/null +++ b/man/git-fresh-branch.html @@ -0,0 +1,117 @@ + + + + + + git-fresh-branch(1) - Create fresh branches + + + + +
+ + + +
    +
  1. git-fresh-branch(1)
  2. +
  3. Git Extras
  4. +
  5. git-fresh-branch(1)
  6. +
+ +

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 delete.

+ +

EXAMPLES

+ +
$ git fresh-branch docs
+
+ +

AUTHOR

+ +

Written by Kenneth Reitz <me@kennethreitz.com>

+ +

REPORTING BUGS

+ +

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

+ +

SEE ALSO

+ +

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

+ + +
    +
  1. +
  2. October 2010
  3. +
  4. git-fresh-branch(1)
  5. +
+ +
+ + diff --git a/man/git-graft.html b/man/git-graft.html new file mode 100644 index 0000000..83bb660 --- /dev/null +++ b/man/git-graft.html @@ -0,0 +1,118 @@ + + + + + + git-graft(1) - Merge commits together + + + + +
+ + + +
    +
  1. git-graft(1)
  2. +
  3. Git Extras
  4. +
  5. git-graft(1)
  6. +
+ +

NAME

+

+ git-graft - Merge commits together +

+ +

SYNOPSIS

+ +

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

+ +

DESCRIPTION

+ +

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

+ +

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

+ +

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

+ +

SEE ALSO

+ +

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

+ + +
    +
  1. +
  2. October 2010
  3. +
  4. git-graft(1)
  5. +
+ +
+ + diff --git a/man/git-ignore.html b/man/git-ignore.html new file mode 100644 index 0000000..93c12fe --- /dev/null +++ b/man/git-ignore.html @@ -0,0 +1,126 @@ + + + + + + git-ignore(1) - Ignore untracked files + + + + +
+ + + +
    +
  1. git-ignore(1)
  2. +
  3. Git Extras
  4. +
  5. git-ignore(1)
  6. +
+ +

NAME

+

+ git-ignore - Ignore untracked files +

+ +

SYNOPSIS

+ +

git-ignore [<pattern>...]

+ +

DESCRIPTION

+ +

Adds the given _pattern_s to a gitignore file.

+ +

OPTIONS

+ +

EXAMPLES

+ +

To lazy to open up .gitignore? me too! simply pass some patterns:

+ +
$ git ignore build "*.o" "*.log"
+... added 'build'
+  ... added '*.o'
+... added '*.log'
+
+ +

Running git-ignore without a pattern will display the current patterns:

+ +
$ git ignore
+build
+*.o
+*.log 
+
+ +

AUTHOR

+ +

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

+ +

REPORTING BUGS

+ +

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

+ +

SEE ALSO

+ +

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

+ + +
    +
  1. +
  2. October 2010
  3. +
  4. git-ignore(1)
  5. +
+ +
+ + diff --git a/man/git-release.html b/man/git-release.html new file mode 100644 index 0000000..2cec612 --- /dev/null +++ b/man/git-release.html @@ -0,0 +1,117 @@ + + + + + + git-release(1) - Commit, tag and push changes to the repository + + + + +
+ + + +
    +
  1. git-release(1)
  2. +
  3. Git Extras
  4. +
  5. git-release(1)
  6. +
+ +

NAME

+

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

+ +

SYNOPSIS

+ +

git-release <tagname>

+ +

DESCRIPTION

+ +

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

+ +

OPTIONS

+ +

<tagname>

+ +

EXAMPLES

+ +

Release commit with the given <tagname>.

+ +
$ git release 0.1.0
+
+ +

AUTHOR

+ +

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

+ +

REPORTING BUGS

+ +

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

+ +

SEE ALSO

+ +

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

+ + +
    +
  1. +
  2. October 2010
  3. +
  4. git-release(1)
  5. +
+ +
+ + diff --git a/man/git-repl.html b/man/git-repl.html new file mode 100644 index 0000000..c489b58 --- /dev/null +++ b/man/git-repl.html @@ -0,0 +1,126 @@ + + + + + + git-repl(1) - git read-eval-print-loop + + + + +
+ + + +
    +
  1. git-repl(1)
  2. +
  3. Git Extras
  4. +
  5. git-repl(1)
  6. +
+ +

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

+ +

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

+ +

SEE ALSO

+ +

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

+ + +
    +
  1. +
  2. October 2010
  3. +
  4. git-repl(1)
  5. +
+ +
+ + diff --git a/man/git-setup.html b/man/git-setup.html new file mode 100644 index 0000000..37d67de --- /dev/null +++ b/man/git-setup.html @@ -0,0 +1,117 @@ + + + + + + git-setup(1) - Set up a git repository + + + + +
+ + + +
    +
  1. git-setup(1)
  2. +
  3. Git Extras
  4. +
  5. git-setup(1)
  6. +
+ +

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

+ +

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

+ +

SEE ALSO

+ +

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

+ + +
    +
  1. +
  2. October 2010
  3. +
  4. git-setup(1)
  5. +
+ +
+ + diff --git a/man/git-summary.html b/man/git-summary.html new file mode 100644 index 0000000..166513e --- /dev/null +++ b/man/git-summary.html @@ -0,0 +1,148 @@ + + + + + + git-summary(1) - Show repository summary + + + + +
+ + + +
    +
  1. git-summary(1)
  2. +
  3. Git Extras
  4. +
  5. git-summary(1)
  6. +
+ +

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
+commits: 1893
+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

+ +

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

+ +

SEE ALSO

+ +

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

+ + +
    +
  1. +
  2. October 2010
  3. +
  4. git-summary(1)
  5. +
+ +
+ + diff --git a/man/git-touch.html b/man/git-touch.html new file mode 100644 index 0000000..137fdb5 --- /dev/null +++ b/man/git-touch.html @@ -0,0 +1,116 @@ + + + + + + git-touch(1) - Touch and add file to the index + + + + +
+ + + +
    +
  1. git-touch(1)
  2. +
  3. Git Extras
  4. +
  5. git-touch(1)
  6. +
+ +

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

+ +

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

+ +

SEE ALSO

+ +

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

+ + +
    +
  1. +
  2. October 2010
  3. +
  4. git-touch(1)
  5. +
+ +
+ + diff --git a/man/git-undo.html b/man/git-undo.html new file mode 100644 index 0000000..0c8635e --- /dev/null +++ b/man/git-undo.html @@ -0,0 +1,124 @@ + + + + + + git-undo(1) - Remove latest commits + + + + +
+ + + +
    +
  1. git-undo(1)
  2. +
  3. Git Extras
  4. +
  5. git-undo(1)
  6. +
+ +

NAME

+

+ git-undo - Remove latest commits +

+ +

SYNOPSIS

+ +

git-undo [<commitcount>]

+ +

DESCRIPTION

+ +

Removes the latest commits.

+ +

OPTIONS

+ +

<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>

+ +

REPORTING BUGS

+ +

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

+ +

SEE ALSO

+ +

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

+ + +
    +
  1. +
  2. October 2010
  3. +
  4. git-undo(1)
  5. +
+ +
+ + diff --git a/man/git-update-extras.html b/man/git-update-extras.html new file mode 100644 index 0000000..0405535 --- /dev/null +++ b/man/git-update-extras.html @@ -0,0 +1,104 @@ + + + + + + git-update-extras(1) - Updates git extras + + + + +
+ + + +
    +
  1. git-update-extras(1)
  2. +
  3. Git Extras
  4. +
  5. git-update-extras(1)
  6. +
+ +

NAME

+

+ git-update-extras - Updates git extras +

+ +

SYNOPSIS

+ +

git-update-extras

+ +

DESCRIPTION

+ +

Updates git extras. Clones the repo to /tmp/git-extras, make installs, then cds back to the origin directory.

+ +

AUTHOR

+ +

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

+ +

REPORTING BUGS

+ +

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

+ +

SEE ALSO

+ +

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

+ + +
    +
  1. +
  2. October 2010
  3. +
  4. git-update-extras(1)
  5. +
+ +
+ + From ec95872934bf707cc384050df6c29d90781d8e06 Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Sun, 31 Oct 2010 11:54:37 -0700 Subject: [PATCH 15/15] Installing / uninstall man pages --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5876a93..7931555 100644 --- a/Makefile +++ b/Makefile @@ -8,11 +8,13 @@ MAN_PAGES = $(MANS:.md=.1) install: @mkdir -p $(MANPATH) - @echo "... installing to $(PREFIX)/bin" + @echo "... installing bins to $(PREFIX)/bin" + @echo "... installing man pages to $(MANPATH)" @$(foreach BIN, $(BINS), \ echo "... installing `basename $(BIN)`"; \ cp -f $(BIN) $(PREFIX)/$(BIN); \ ) + cp -f man/git-*.1 $(MANPATH) docs: $(MAN_HTML) $(MAN_PAGES) @@ -34,6 +36,10 @@ uninstall: echo "... uninstalling $(PREFIX)/$(BIN)"; \ rm -f $(PREFIX)/$(BIN); \ ) + @$(foreach MAN, $(MAN_PAGES), \ + echo "... uninstalling $(MANPATH)/$(MAN)"; \ + rm -f $(MANPATH)/$(MAN); \ + ) clean: docclean