Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
Modifier and Type | Method and Description |
---|---|
CheckoutCommand |
CheckoutCommand.addPath(String path)
Add a single slash-separated path to the list of paths to check out.
|
CheckoutCommand |
CheckoutCommand.addPaths(List<String> p)
Add multiple slash-separated paths to the list of paths to check out.
|
CheckoutCommand |
Git.checkout()
Return a command object to execute a
checkout command |
protected CheckoutCommand |
CheckoutCommand.checkoutPaths()
Checkout paths into index and working directory, firing a
WorkingTreeModifiedEvent if the working
tree was modified. |
CheckoutCommand |
CheckoutCommand.setAllPaths(boolean all)
Set whether to checkout all paths.
|
CheckoutCommand |
CheckoutCommand.setCreateBranch(boolean createBranch)
Specify whether to create a new branch.
|
CheckoutCommand |
CheckoutCommand.setForce(boolean force)
Specify to force the ref update in case of a branch switch.
|
CheckoutCommand |
CheckoutCommand.setName(String name)
Specify the name of the branch or commit to check out, or the new branch
name.
|
CheckoutCommand |
CheckoutCommand.setOrphan(boolean orphan)
Specify whether to create a new orphan branch.
|
CheckoutCommand |
CheckoutCommand.setProgressMonitor(ProgressMonitor monitor) |
CheckoutCommand |
CheckoutCommand.setStage(CheckoutCommand.Stage stage)
When checking out the index, check out the specified stage (ours or
theirs) for unmerged paths.
|
CheckoutCommand |
CheckoutCommand.setStartPoint(RevCommit startCommit)
Set the commit that should be checked out.
|
CheckoutCommand |
CheckoutCommand.setStartPoint(String startPoint)
Set the name of the commit that should be checked out.
|
CheckoutCommand |
CheckoutCommand.setUpstreamMode(CreateBranchCommand.SetupUpstreamMode mode)
When creating a branch with
setCreateBranch(boolean) , this can
be used to configure branch tracking. |
Copyright © 2020 Eclipse JGit Project. All rights reserved.