hgbook
view ja/examples/tour.help.out @ 1112:7764de86d22f
refined chap 2
author | Zhaoping Sun <zhaopingsun@gmail.com> |
---|---|
date | Mon Dec 28 22:58:53 2009 -0500 (2009-12-28) |
parents | |
children |
line source
1 $ \textbf{hg help init}
2 hg init [-e CMD] [--remotecmd CMD] [DEST]
4 create a new repository in the given directory
6 Initialize a new repository in the given directory. If the given
7 directory does not exist, it is created.
9 If no directory is given, the current directory is used.
11 It is possible to specify an ssh:// URL as the destination.
12 Look at the help text for the pull command for important details
13 about ssh:// URLs.
15 options:
17 -e --ssh specify ssh command to use
18 --remotecmd specify hg command to run on the remote side
20 use "hg -v help init" to show global options