Optional
--detachChecks out a commit for inspection and discardable experiments.
Optional
--forceProceeds if the index or the working tree differs from HEAD, even if there are untracked files when switching branches.
Optional
--ignore-Ignores the sparse patterns and adds back any files in relativePaths.
Optional
--mergePerforms a three-way merge between the current branch, your working tree contents, and the new branch.
Optional
--no-Suppresses progress reports to the standard error stream. See also --progress.
Optional
--no-Does not set up "upstream" configuration. See also --track.
Optional
--orphanCreates a new orphan branch named
Optional
--oursChecks out stage #2 for unmerged paths when checking out paths from the index. See also --thiers.
Optional
--progressForces progress reports to the standard error stream. See also --no-progress.
Optional
--quietSuppresses feedback messages.
Optional
--thiersChecks out stage #3 for unmerged paths when checking out paths from the index. See also --ours.
Optional
--trackSets "upstream" tracking configuration for the new branch. See also --no-track.
Optional
-bCreates a new branch named
Optional
-lCreates the branch’s reflog.
CheckoutOptions defines the supported options for the Git checkout command.