git branch
CautionBranches
git branch <name>
List, create or delete branches.
Examples
git branch -aList incl. remotes
Syntax
git branch [name] [-d name]
Before you run it
-D force-deletes even unmerged branches.
Related commands
- git switch / checkoutSwitch branch
- git mergeMerge
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store