Last active
December 26, 2015 20:49
-
-
Save Walkeryr/7211945 to your computer and use it in GitHub Desktop.
Mercurial commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# change commit message after commit | |
hg commit --amend | |
# undo add before commit | |
hg revert [file_name|directory_name] | |
# create new branch | |
hg branch new-branch-name | |
# push new branch to remote | |
hg push --new-branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment