hg branch
Create or show a branch name. More information: https://www.mercurial-scm.org/doc/hg.1.html#branch.
-
Show the name of the currently active branch:
hg branch
-
Create a new branch for the next commit:
hg branch {{branch_name}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.