2025-03-14 21:59:59 -06:00
|
|
|
# hg branch
|
|
|
|
|
|
|
|
|
|
> Create or show a branch name.
|
2025-09-14 18:48:49 -06:00
|
|
|
> More information: <https://www.mercurial-scm.org/help/commands/branch>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Show the name of the currently active branch:
|
|
|
|
|
|
|
|
|
|
`hg branch`
|
|
|
|
|
|
|
|
|
|
- Create a new branch for the next commit:
|
|
|
|
|
|
|
|
|
|
`hg branch {{branch_name}}`
|