开发者

Mercurial <--> git cheat sheet? [closed]

开发者 https://www.devze.com 2023-01-10 18:05 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 10 years ago.

Improve this question

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 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号