Skip to content

Instantly share code, notes, and snippets.

@legnaleurc
Last active January 12, 2018 06:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save legnaleurc/16f6bfb2447b5a4049a1b15819374603 to your computer and use it in GitHub Desktop.
Save legnaleurc/16f6bfb2447b5a4049a1b15819374603 to your computer and use it in GitHub Desktop.
Mercurial Cheatsheet
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment