Uses of Class
org.eclipse.jgit.api.CheckoutCommand
Packages that use CheckoutCommand
-
Uses of CheckoutCommand in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api that return CheckoutCommandModifier and TypeMethodDescriptionAdd a single slash-separated path to the list of paths to check out.Add multiple slash-separated paths to the list of paths to check out.Git.checkout()
Return a command object to execute acheckout
commandprotected CheckoutCommand
CheckoutCommand.checkoutPaths()
Checkout paths into index and working directory, firing aWorkingTreeModifiedEvent
if the working tree was modified.CheckoutCommand.setAllPaths
(boolean all) Set whether to checkout all paths.CheckoutCommand.setCreateBranch
(boolean createBranch) Specify whether to create a new branch.CheckoutCommand.setForce
(boolean force) Deprecated.CheckoutCommand.setForced
(boolean forced) Allow a checkout even if the workingtree or index differs from HEAD.CheckoutCommand.setForceRefUpdate
(boolean forceRefUpdate) Specify to force the ref update in case of a branch switch.Specify the name of the branch or commit to check out, or the new branch name.CheckoutCommand.setOrphan
(boolean orphan) Specify whether to create a new orphan branch.CheckoutCommand.setProgressMonitor
(ProgressMonitor monitor) CheckoutCommand.setStage
(CheckoutCommand.Stage stage) When checking out the index, check out the specified stage (ours or theirs) for unmerged paths.CheckoutCommand.setStartPoint
(String startPoint) Set the name of the commit that should be checked out.CheckoutCommand.setStartPoint
(RevCommit startCommit) Set the commit that should be checked out.CheckoutCommand.setUpstreamMode
(CreateBranchCommand.SetupUpstreamMode mode) When creating a branch withsetCreateBranch(boolean)
, this can be used to configure branch tracking.
setForceRefUpdate(boolean)
instead