.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 [local_checkout_path] .SS "If that fails (due to unnamed heads) try:" .IP clone \-\-force [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