Files
cheatsheet-tldr/tldr/hg-branch
2025-08-13 00:20:58 +00:00

18 lines
347 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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 branch`
- Create a new branch for the next commit:
`hg branch {{branch_name}}`