Skip to content

Instantly share code, notes, and snippets.

@wong2
Created December 17, 2012 04: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 wong2/4315716 to your computer and use it in GitHub Desktop.
Save wong2/4315716 to your computer and use it in GitHub Desktop.
hg branch
hg branch fixbug
hg commit -m 'new branch'

fix bug...commit...

hg update default

code...commit...

hg update fixbug

fix bug...commit...done!

hg update defalt
hg merge fixbug

hg update fixbug
hg commit --close-branch
hg update default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment