Is 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 point: 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With