Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 440 Bytes

hg_cheat_sheet.md

File metadata and controls

39 lines (32 loc) · 440 Bytes

HG Guide

Creating a new branch

hg branch <new branch name>

Display All Branches

hg branches

Check Which Branch You're currently in

hg branch

Adding and commiting changes

hg add <filename>
hg commit -m "Commit message"

Switch branch

hg checkout <branch name>
hg update <branch name>

push

hg push --new-branch

HG Shelve (similar to git stash)

hg shelve