diff --git a/pages/common/hg-branch.md b/pages/common/hg-branch.md new file mode 100644 index 0000000000..fa12548129 --- /dev/null +++ b/pages/common/hg-branch.md @@ -0,0 +1,11 @@ +# hg branch + +> Create or show a branch name. + +- Show the name of the currently active branch: + +`hg branch` + +- Create a new branch for the next commit: + +`hg branch {{new_branch_name}}`