Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this questionIs there a cheat sheet or wiki page out there which relates hg
commands to git
commands, and vise-versa?
I'd like to know for two reasons: first, I'd like to be able to translate git
-speak1 into Mercurial, and second I'd like to be aware of the subtle differences between similar-sounding commands (eg, hg pull
and git pull
).
1 case in p开发者_运维问答oint: git push origin :refs/heads/foo
Git hg rosetta stone is pretty extensive
You also have quite a complete reference in the Mercurial Wiki itself:
Mercurial for Git users
Disclaimer: I work for Atlassian.
We have a less comprehensive cheat sheet comparing equivalent/similar SVN, Git & Hg commands in our blog post comparing Git to Mercurial.
There's one at Hyperpolyglot.
精彩评论