| HG(1) | HG(1)
| NAME
| git, hg, cvs – introduction to using plan9port Git repository
SYNOPSIS
| `git clone http://code.swtch.com/plan9port plan9
` `git pull
` `git diff` revision [ path ... ]
`gitk
` `web http://code.swtch.com/plan9port`
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 replica(8) and dump file system.
The first argument to git is a command, which determines the form of the rest of the command line.
The `clone` command downloads a copy of the tree into the directory `plan9`, which it will create. After `git clone`, the other commands listed should be run within the `plan9` directory tree.
Git downloads the entire revision history of Plan 9 from User Space in addition to the current tree.
Git pull incorporates changes from the master repository into the local revision history and applies them to the current file tree.
Git diff runs Unix’s diff(1) to compare the files in the local tree with the corresponding files in the revision history. The special revision `HEAD` refers to the most recent version in the version history.
Gitk starts an interactive history viewer.
The Git tree can be inspected on the web at `http://code.swtch.com/plan9port/`.
FILES
| `/usr/lib/plan9/.git`
| directory containing Git local repository
`.gitignore`
| list of files and wildcards to exclude from Git operations
SEE ALSO
| codereview(1)
Unix’s git(1), `http://git−scm.com/doc`
`http://code.swtch.com/plan9port/`
BUGS
| Plan 9 from User Space is no longer accessible using CVS or Mercurial; you must use Git.