Documentation
¶
Overview ¶
Checkout https://git-scm.com/docs/git-checkout git checkout [-q] [-f] [-m] [<branch>] git checkout [-q] [-f] [-m] --detach [<branch>] git checkout [-q] [-f] [-m] [--detach] <commit> git checkout [-q] [-f] [-m] [[-b|-B|--orphan] <new_branch>] [<start_point>] git checkout [-f|--ours|--theirs|-m|--conflict=<style>] [<tree-ish>] [--] <paths>… git checkout [-p|--patch] [<tree-ish>] [--] [<paths>…] --quiet --[no-]progress --force --ours --theirs -b <new_branch> -B <new_branch> --track --no-track -l --detach --orphan <new_branch> --ignore-skip-worktree-bits --merge --conflict=<style> --patch --ignore-other-worktrees --[no-]recurse-submodules <branch> <new_branch> <start_point> <tree-ish>
Index ¶
- func Branch(name string) func(*types.Cmd)
- func Conflict(style string) func(*types.Cmd)
- func Detach(g *types.Cmd)
- func Force(g *types.Cmd)
- func IgnoreOtherWorktrees(g *types.Cmd)
- func IgnoreSkipWorktreeBits(g *types.Cmd)
- func Merge(g *types.Cmd)
- func NewBranch(g *types.Cmd)
- func NewBranchForce(g *types.Cmd)
- func NoProgress(g *types.Cmd)
- func NoRecurseSubmodules(g *types.Cmd)
- func NoTrack(g *types.Cmd)
- func Orphan(branch string) func(*types.Cmd)
- func Ours(g *types.Cmd)
- func Patch(g *types.Cmd)
- func Progress(g *types.Cmd)
- func Quiet(g *types.Cmd)
- func RecurseSubmodules(g *types.Cmd)
- func StartPoint(name string) func(*types.Cmd)
- func Theirs(g *types.Cmd)
- func Track(g *types.Cmd)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IgnoreOtherWorktrees ¶
func IgnoreSkipWorktreeBits ¶
func NewBranchForce ¶
func NoProgress ¶
func NoRecurseSubmodules ¶
func RecurseSubmodules ¶
func StartPoint ¶ added in v0.5.0
Types ¶
This section is empty.