Optional
--abbrevShow the shortest prefix that is at least
Optional
--allLists both remote-tracking branches and local branches.
Optional
--columnDisplays the tag listing in columns. See also --no-column.
Optional
--containsLists branches which contain the specified commit; HEAD if not specified. See also --no-contains.
Optional
--copyCopies a branch.
Optional
--create-Creates the branch’s reflog. See also --no-create-reflog.
Optional
--deleteDeletes an branch.
Optional
--forceReplaces an existing branch with the given name, instead of failing.
Optional
--formatInterpolates %(fieldname) from a branch ref being shown and the object it points at.
Optional
--ignore-Makes sorting and filtering tags case insensitive.
Optional
--listLists branches.
Optional
--mergedLists branches whose commits are reachable from the specified commit; HEAD if not specified. See also --no-merged.
Optional
--moveMoves/renames a branch.
Optional
--no-Displays full sha1s in the output. See also --abbrev.
Optional
--no-Does not display the tag listing in columns. See also --column.
Optional
--no-Lists branches which don't contain the specified commit; HEAD if not specified. See also --contains.
Optional
--no-Overrides an earlier --create-reflog. See also --create-reflog.
Optional
--no-Lists refs whose commits are not reachable from the specified commit; HEAD if not specified. See also --merged.
Optional
--no-Does not set up "upstream" configuration. See also --track.
Optional
--points-Lists branches of the given object.
Optional
--quietSuppresses non-error messages.
Optional
--recurse-Causes the current command to recurse into submodules.
Optional
--remotesLists or deletes (if used with --delete) the remote-tracking branches.
Optional
--set-Sets "upstream" tracking configuration to the specified branch.
Optional
--show-Prints the name of the current branch.
Optional
--sortSorts based on the given keys.
Optional
--trackSets "upstream" tracking configuration for the new branch. See also --no-track.
Optional
--unset-Removes "upstream" tracking configuration.
Optional
--verboseShow the sha1 and commit subject line for each head in list mode. May be repeated to include the path of the linked worktree (if any) and the name of the upstream branch.
BranchOptions defines the supported options for the Git branch command.