Files
cheatsheet-tldr/tldr/hg-branch

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/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}}`