tldr/pages/common/hg-branch.md

13 lines
254 B
Markdown
Raw Normal View History

2018-01-02 22:01:08 +00:00
# hg branch
> Create or show a branch name.
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#branch>.
2018-01-02 22:01:08 +00:00
- Show the name of the currently active branch:
`hg branch`
- Create a new branch for the next commit:
`hg branch {{branch_name}}`