Java org.eclipse.jgit.api CheckoutCommand fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.api CheckoutCommand fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.api CheckoutCommand.

The text is from its open source code.

Constructor

CheckoutCommand(Repository repo)
Constructor for CheckoutCommand

Method

CheckoutCommandaddPath(String path)
Add a single slash-separated path to the list of paths to check out.
CheckoutCommandaddPaths(List p)
Add multiple slash-separated paths to the list of paths to check out.
Refcall()
CheckoutResultgetResult()
Get the result, never null
CheckoutCommandsetCreateBranch(boolean createBranch)
Specify whether to create a new branch.
CheckoutCommandsetForce(boolean force)
Specify to force the ref update in case of a branch switch.
CheckoutCommandsetName(String name)
Specify the name of the branch or commit to check out, or the new branch name.
CheckoutCommandsetStage(Stage stage)
When checking out the index, check out the specified stage (ours or theirs) for unmerged paths.
CheckoutCommandsetStartPoint(String startPoint)
Set the name of the commit that should be checked out.
CheckoutCommandsetStartPoint(RevCommit startCommit)
Set the commit that should be checked out.
CheckoutCommandsetUpstreamMode(CreateBranchCommand.SetupUpstreamMode mode)
When creating a branch with #setCreateBranch(boolean) , this can be used to configure branch tracking.