aboutsummaryrefslogtreecommitdiff
path: root/man/man1/git.1
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2014-11-16 18:58:40 -0500
committerRuss Cox <rsc@swtch.com>2014-11-16 21:21:28 -0500
commit95fee1d42e537209727d9493d1ea3784a8af310a (patch)
tree0e76e924a668b6cbdd0ec889512571b1fff2127a /man/man1/git.1
parent58d8f6c7bac88dee274d8ba47e86e56a829f0856 (diff)
downloadplan9port-95fee1d42e537209727d9493d1ea3784a8af310a.tar.gz
plan9port-95fee1d42e537209727d9493d1ea3784a8af310a.tar.bz2
plan9port-95fee1d42e537209727d9493d1ea3784a8af310a.zip
all: update for Git
- rewrite .gitignore to use git patterns - mv hg(1) to git(1) and rewrite - add lib/git/commit-msg.hook - add skeleton codereview script - update codereview(1) Change-Id: I061cd8e4de77ebbd6037a7c5d1582cd1d986f62f
Diffstat (limited to 'man/man1/git.1')
-rw-r--r--man/man1/git.189
1 files changed, 89 insertions, 0 deletions
diff --git a/man/man1/git.1 b/man/man1/git.1
new file mode 100644
index 00000000..2cedace7
--- /dev/null
+++ b/man/man1/git.1
@@ -0,0 +1,89 @@
+.TH HG 1
+.SH NAME
+git, hg, cvs \- introduction to using plan9port Git repository
+.SH SYNOPSIS
+.B git
+.B clone
+.B http://code.swtch.com/plan9port
+.B plan9
+.PP
+.B git
+.B pull
+.PP
+.B git
+.B diff
+.I revision
+[
+.I path ...
+]
+.PP
+.B gitk
+.PP
+.B web
+.B http://code.swtch.com/plan9port
+.SH DESCRIPTION
+The master source tree for Plan 9 from User Space is maintained
+using the source control system Git
+as a substitute for Plan 9's
+\fIreplica\fR(8) and dump file system.
+.PP
+The first argument to
+.I git
+is a command, which determines the form of the rest of the command line.
+.PP
+The
+.B clone
+command downloads a copy of the tree into the directory
+.BR plan9 ,
+which it will create.
+After
+.B git
+.BR clone ,
+the other commands listed
+should be run within the
+.B plan9
+directory tree.
+.PP
+Git downloads the entire revision history
+of Plan 9 from User Space
+in addition to the current tree.
+.PP
+.I Git
+.I pull
+incorporates changes from the master repository
+into the local revision history and applies them to the
+current file tree.
+.PP
+.I Git
+.I diff
+runs Unix's
+.IR diff (1)
+to compare the files in the local tree with the corresponding
+files in the revision history.
+The special revision
+.B HEAD
+refers to the most recent version in the version history.
+.PP
+.I Gitk
+starts an interactive history viewer.
+.PP
+The Git tree can be inspected on the web at
+.HR http://code.swtch.com/plan9port/ "" .
+.SH FILES
+.TP
+.B \*9/.git
+directory containing Mercurial local repository
+.TP
+.B .gitignore
+list of files and wildcards to exclude from Git operations
+.SH SEE ALSO
+.IR codereview (1)
+.PP
+Unix's
+\fIgit\fR(1),
+.HR http://git-scm.com/doc
+.PP
+.HR http://code.swtch.com/plan9port/
+.SH BUGS
+Plan 9 from User Space is no longer accessible using CVS or Mercurial;
+you must use Git.