{"tool":"hg","tool_display":"Hg","intent":"create-new-branch-for-next-commit","intent_display":"create new branch for next commit","title":"Hg Command: create new branch for next commit","command_string":"hg branch <branch_name>","raw_command_string":"hg branch {{branch_name}}","description":"Exact CLI syntax to create new branch for next commit using Hg.","usage_scenario":"Creating a new branch to isolate feature development from the main line.","scenario_context":"Creating a new branch to isolate feature development from the main line.","simulated_output":"$ hg branch feature-xyz\n$ hg commit -m \"Start working on feature xyz\"","how_to_steps":["Run the command `hg branch {{branch_name}}` to create a new branch.","Make your changes and stage them as needed.","Commit your changes to the new branch."],"inferred_category":"Version Control","canonical_url":"https://www.syntaxstandard.com/hg/create-new-branch-for-next-commit"}