File: git-hg.1

package info (click to toggle)
hg-fast-export 20120618-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 176 kB
  • sloc: python: 563; sh: 443; ansic: 312; makefile: 19
file content (25 lines) | stat: -rw-r--r-- 772 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.TH GIT-HG "1" "February 2012" "git-hg" "User Commands"
.SH NAME
git\-hg \- tool for tracking Hg repos in Git
.SH DESCRIPTION
git\-hg can be used to transparently track Mercurial repositories in Git ones.
.SH USAGE
.SS "To clone a mercurial repo run:"
.IP
clone <path/to/mercurial/repo> [local_checkout_path]
.SS "If that fails (due to unnamed heads) try:"
.IP
clone \-\-force <path/to/mercurial/repo> [local_checkout_path]
.SS "To work with a cloned mercurial repo use:"
.TP
\fBfetch [ \-\-force ]\fR
fetch latest branches from mercurial
.TP
\fBpull [ \-\-force ] [\-\-rebase]\fR
fetch and merge (or rebase) the into the current branch
.TP
\fBpush [destination]\fR
push latest changes to mercurial
.TP
\fBcheckout [ \-\-force ] branch_name\fR
checkout a mercurial branch