| git | mercurial |
|---|---|
| git log | hg log -f |
| git remote show | hg incoming |
| git remote update | hg pull |
| git branch | hg bookmarks |
| git checkout $commit_id | hg update $changeset_id |
| git add -p git commit |
hg commit -i |
| git rebase -i $commit_id | hg histedit $changeset_id |
| git rebase $commit_id | hg rebase -d $changeset_id |
| git reset --hard | hg revert -a --no-backup |
Last active
January 12, 2018 06:14
-
-
Save legnaleurc/16f6bfb2447b5a4049a1b15819374603 to your computer and use it in GitHub Desktop.
Mercurial Cheatsheet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment