TortoiseHG / Mercurial Quick Ref

List the current local branch

hg identify -b

hg branch

List all local branches

Start a new local branch

hg branch <branchname>

Add changes

hg add <filename>

hg add .

Commit a branch

hg commit -m “commit message”

Pull remote code

hg pull

Update the local repository

hg update

Push local changes to remote

hg push



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s