package
0.22.0
Repository: https://github.com/1800alex/go-git-cmd-wrapper.git
Documentation: pkg.go.dev

# Functions

Branch to checkout; if it refers to a branch (i.e., a name that, when prepended with 'refs/heads/', is a valid ref), then that branch is checked out.
Conflict The same as --merge option above, but changes the way the conflicting hunks are presented, overriding the merge.conflictStyle configuration variable.
Detach Rather than checking out a branch to work on it, check out a commit for inspection and discardable experiments.
Force When switching branches, proceed even if the index or the working tree differs from HEAD.
IgnoreOtherWorktrees git checkout refuses when the wanted ref is already checked out by another worktree.
IgnoreSkipWorktreeBits In sparse checkout mode, git checkout -- <paths> would update only entries matched by <paths> and sparse patterns in $GIT_DIR/info/sparse-checkout.
Merge When switching branches, if you have local modifications to one or more files that are different between the current branch and the branch to which you are switching, the command refuses to switch branches in order to preserve your modifications in context.
NewBranch Create a new branch named <new_branch> and start it at <start_point>; see git-branch(1) for details.
NewBranchForce Creates the branch <new_branch> and start it at <start_point>; if it already exists, then reset it to <start_point>.
NewBranchReflog Create the new branch’s reflog; see git-branch(1) for details.
NoProgress Progress status is reported on the standard error stream by default when it is attached to a terminal, unless --quiet is specified.
NoRecurseSubmodules Using --recurse-submodules will update the content of all initialized submodules according to the commit recorded in the superproject.
NoTrack Do not set up 'upstream' configuration, even if the branch.autoSetupMerge configuration variable is true.
Orphan Create a new orphan branch, named <new_branch>, started from <start_point> and switch to it.
Ours When checking out paths from the index, check out stage #2 (ours) or #3 (theirs) for unmerged paths.
Patch Interactively select hunks in the difference between the <tree-ish> (or the index, if unspecified) and the working tree.
Path <paths>...
Progress Progress status is reported on the standard error stream by default when it is attached to a terminal, unless --quiet is specified.
Quiet Quiet, suppress feedback messages.
RecurseSubmodules Using --recurse-submodules will update the content of all initialized submodules according to the commit recorded in the superproject.
StartPoint The name of a commit at which to start the new branch; see git-branch(1) for details.
Theirs When checking out paths from the index, check out stage #2 (ours) or #3 (theirs) for unmerged paths.
Track When creating a new branch, set up 'upstream' configuration.
TreeIsh Tree to checkout from (when paths are given).