And here is an extensive table showing equivalent commands in hg and git. The only problem is that it’s from the viewpoint of someone used to git who needs to use mercurial.
- git branches
- git commit
- git repository
- git status
Clone remote repo¶
$ hg clone https://selenic.com/repo/hello $ cd hello
$ hg add file <file2...> <filepattern>
$ hg commit -m "Message"