Documentation
¶
Overview ¶
Branch https://git-scm.com/docs/git-branch usage: git branch [<options>] [-r | -a] [--merged | --no-merged] or: git branch [<options>] [-l] [-f] <branch-name> [<start-point>] or: git branch [<options>] [-r] (-d | -D) <branch-name>... or: git branch [<options>] (-m | -M) [<old-branch>] <new-branch> or: git branch [<options>] [-r | -a] [--points-at] or: git branch [<options>] [-r | -a] [--format]
Index ¶
- func Abbrev(n string) func(*types.Cmd)
- func All(g *types.Cmd)
- func BranchName(name string) func(*types.Cmd)
- func Color(when string) func(*types.Cmd)
- func Column(style string) func(*types.Cmd)
- func Contains(commit string) func(*types.Cmd)
- func CreateReflog(g *types.Cmd)
- func Delete(g *types.Cmd)
- func DeleteForce(g *types.Cmd)
- func EditDescription(g *types.Cmd)
- func Force(g *types.Cmd)
- func Format(format string) func(*types.Cmd)
- func IgnoreCase(g *types.Cmd)
- func List(g *types.Cmd)
- func Merged(commit string) func(*types.Cmd)
- func Move(g *types.Cmd)
- func MoveForce(g *types.Cmd)
- func NoContains(commit string) func(*types.Cmd)
- func NoMerged(commit string) func(*types.Cmd)
- func PointsAt(object string) func(*types.Cmd)
- func Quiet(g *types.Cmd)
- func Remotes(g *types.Cmd)
- func SetUpstream(g *types.Cmd)
- func SetUpstreamTo(upstream string) func(*types.Cmd)
- func Sort(key string) func(*types.Cmd)
- func Track(g *types.Cmd)
- func UnsetUpstream(g *types.Cmd)
- func Verbose(g *types.Cmd)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateReflog ¶
CreateReflog create the branch's reflog -l, --create-reflog
func EditDescription ¶
EditDescription edit the description for the branch --edit-description
func IgnoreCase ¶
IgnoreCase sorting and filtering are case insensitive -i, --ignore-case
func NoContains ¶
NoContains print only branches that don't contain the commit --no-contains <commit>
func SetUpstreamTo ¶
SetUpstreamTo change the upstream info -u, --set-upstream-to <upstream>
func UnsetUpstream ¶
UnsetUpstream change the upstream info -u, --set-upstream-to <upstream>
Types ¶
This section is empty.