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
|