branch
Synopsis
Section titled “Synopsis”branch <branch_name>Description
Section titled “Description”Switches to a local git branch, creating it if it does not already exist. Extra arguments are forwarded to git checkout.
Arguments
Section titled “Arguments”branch_name |
Branch to switch to or create |
Exit Status
Section titled “Exit Status”0 |
Branch checked out or created |
1 |
Not inside a git work tree |
Example
Section titled “Example”branch feature/new-uiDependencies: git