snippetbashTip
hg branch — Create or show a branch name. More information: <https://www.mercurial-scm.org/help/commands/branch>
Viewed 0 times
createcommandbranchshowhg branchnameclimore
Problem
How to use the
hg branch command: Create or show a branch name. More information: <https://www.mercurial-scm.org/help/commands/branch>.Solution
hg branch — Create or show a branch name. More information: <https://www.mercurial-scm.org/help/commands/branch>.Show the name of the currently active branch:
hg branchCreate a new branch for the next commit:
hg branch {{branch_name}}Code Snippets
Show the name of the currently active branch
hg branchCreate a new branch for the next commit
hg branch {{branch_name}}Context
tldr-pages: common/hg branch
Revisions (0)
No revisions yet.