Skip to content
Jakukyo Friel edited this page May 3, 2015 · 2 revisions

Hg branch

Set in ~.hgrc:

[bookmarks]
track.current = True

Create and switch to a new branch:

hg bookmark A
hg bookmark B

Switch to A

hg up A
# do some commits

Show branches:

hg bookmarks

Rebase B to A:

hg rebase -d A -S B
Clone this wiki locally