# hg branch > 创建或显示分支名称。 > 更多信息:。 - 显示当前活动分支的名称: `hg branch` - 为下一个提交创建一个新分支: `hg branch {{branch_name}}`