Skip to content

Commit

Permalink
documentation: move git(7) to git(1)
Browse files Browse the repository at this point in the history
As the "git" man page describes the "git" command at the end-user
level, it seems better to move it to man section 1.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
chriscool authored and gitster committed Jun 6, 2008
1 parent 30eba7b commit 9e1f0a8
Show file tree
Hide file tree
Showing 140 changed files with 144 additions and 146 deletions.
6 changes: 2 additions & 4 deletions Documentation/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
MAN1_TXT= \
$(filter-out $(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \
$(wildcard git-*.txt)) \
gitk.txt
gitk.txt git.txt
MAN5_TXT=gitattributes.txt gitignore.txt gitmodules.txt githooks.txt \
gitrepository-layout.txt
MAN7_TXT=git.txt gitcli.txt gittutorial.txt gittutorial-2.txt \
MAN7_TXT=gitcli.txt gittutorial.txt gittutorial-2.txt \
gitcvs-migration.txt gitcore-tutorial.txt gitglossary.txt \
gitdiffcore.txt

Expand Down Expand Up @@ -139,8 +139,6 @@ cmd-list.made: cmd-list.perl ../command-list.txt $(MAN1_TXT)
$(PERL_PATH) ./cmd-list.perl ../command-list.txt
date >$@

git.7 git.html: git.txt

clean:
$(RM) *.xml *.xml+ *.html *.html+ *.1 *.5 *.7
$(RM) *.texi *.texi+ git.info gitman.info
Expand Down
2 changes: 1 addition & 1 deletion Documentation/git-add.txt
Original file line number Diff line number Diff line change
Expand Up @@ -265,4 +265,4 @@ Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-am.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,4 @@ Documentation by Petr Baudis, Junio C Hamano and the git-list <git@vger.kernel.o

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-annotate.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ Written by Ryan Anderson <ryan@michonline.com>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-apply.txt
Original file line number Diff line number Diff line change
Expand Up @@ -206,4 +206,4 @@ Documentation by Junio C Hamano

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-archimport.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ Documentation by Junio C Hamano, Martin Langhoff and the git-list <git@vger.kern

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-archive.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,4 @@ Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-bisect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -283,4 +283,4 @@ Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-blame.txt
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,4 @@ Written by Junio C Hamano <junkio@cox.net>

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-branch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,4 @@ Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-bundle.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,4 @@ Written by Mark Levedahl <mdl123@verizon.net>

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-cat-file.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-check-attr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ Documentation by James Bowes.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-check-ref-format.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ refname expressions (see linkgit:git-rev-parse[1]). Namely:

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-checkout-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,4 @@ Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-checkout.txt
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,4 @@ Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-cherry-pick.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-cherry.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-citool.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ Documentation by Shawn O. Pearce <spearce@spearce.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-clean.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ Written by Pavel Roskin <proski@gnu.org>

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-clone.txt
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,4 @@ Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-commit-tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-commit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -312,4 +312,4 @@ Junio C Hamano <junkio@cox.net>

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -334,4 +334,4 @@ Documentation by Johannes Schindelin, Petr Baudis and the git-list <git@vger.ker

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-count-objects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-cvsexportcommit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ Documentation by Martin Langhoff <martin@catalyst.net.nz> and others.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-cvsimport.txt
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,4 @@ Documentation by Matthias Urlichs <smurf@smurf.noris.de>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-cvsserver.txt
Original file line number Diff line number Diff line change
Expand Up @@ -352,4 +352,4 @@ Documentation by Martyn Smith <martyn@catalyst.net.nz>, Martin Langhoff <martin@

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-daemon.txt
Original file line number Diff line number Diff line change
Expand Up @@ -272,4 +272,4 @@ Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-describe.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-diff-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-diff-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@ Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-diff-tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,4 @@ Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-diff.txt
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,4 @@ Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-fast-export.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ Documentation by Johannes E. Schindelin <johannes.schindelin@gmx.de>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-fast-import.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1119,4 +1119,4 @@ Documentation by Shawn O. Pearce <spearce@spearce.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-fetch-pack.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ Documentation by Junio C Hamano.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-fetch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-filter-branch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -317,4 +317,4 @@ Documentation by Petr Baudis and the git list.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-fmt-merge-msg.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ Documentation by Petr Baudis, Junio C Hamano and the git-list <git@vger.kernel.o

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-format-patch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,4 +238,4 @@ Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-fsck.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,4 @@ Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-gc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,4 @@ Written by Shawn O. Pearce <spearce@spearce.org>

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-get-tar-commit-id.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-grep.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,4 @@ Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-gui.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ Documentation by Shawn O. Pearce <spearce@spearce.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-hash-object.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
4 changes: 2 additions & 2 deletions Documentation/git-help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,10 @@ Written by Junio C Hamano <gitster@pobox.com> and the git-list

Documentation
-------------
Initial documentation was part of the linkgit:git[7] man page.
Initial documentation was part of the linkgit:git[1] man page.
Christian Couder <chriscool@tuxfamily.org> extracted and rewrote it a
little. Maintenance is done by the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-http-fetch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-http-push.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ Documentation by Nick Hengeveld

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-imap-send.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ Documentation by Mike McCormack

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-index-pack.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ Documentation by Sergey Vlasov

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-init.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-instaweb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ Documentation by Eric Wong <normalperson@yhbt.net>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-lost-found.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-ls-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,4 @@ Documentation by David Greaves, Junio C Hamano, Josh Triplett, and the git-list

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-ls-remote.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ Written by Junio C Hamano <junkio@cox.net>

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-ls-tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ Documentation by David Greaves, Junio C Hamano and the git-list

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-mailinfo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-mailsplit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
2 changes: 1 addition & 1 deletion Documentation/git-merge-base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel

GIT
---
Part of the linkgit:git[7] suite
Part of the linkgit:git[1] suite
Loading

0 comments on commit 9e1f0a8

Please sign in to comment.