Example usage for Java org.eclipse.jgit.api CheckoutCommand fields, constructors, methods, implement or subclass
The text is from its open source code.
CheckoutCommand(Repository repo) Constructor for CheckoutCommand |
CheckoutCommand | addPath(String path) Add a single slash-separated path to the list of paths to check out. |
CheckoutCommand | addPaths(List Add multiple slash-separated paths to the list of paths to check out. |
Ref | call() |
CheckoutResult | getResult() Get the result, never null |
CheckoutCommand | setCreateBranch(boolean createBranch) Specify whether to create a new branch. |
CheckoutCommand | setForce(boolean force) Specify to force the ref update in case of a branch switch. |
CheckoutCommand | setName(String name) Specify the name of the branch or commit to check out, or the new branch name. |
CheckoutCommand | setStage(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 with #setCreateBranch(boolean) , this can be used to configure branch tracking. |