CloneCommand |
CloneCommand.addShallowExclude(String shallowExclude) |
Creates a shallow clone with a history, excluding commits reachable from
a specified remote branch or tag.
|
CloneCommand |
CloneCommand.addShallowExclude(ObjectId shallowExclude) |
Creates a shallow clone with a history, excluding commits reachable from
a specified remote branch or tag.
|
static CloneCommand |
Git.cloneRepository() |
Return a command object to execute a clone command
|
CloneCommand |
CloneCommand.setBare(boolean bare) |
Set whether the cloned repository shall be bare
|
CloneCommand |
CloneCommand.setBranch(String branch) |
Set the initial branch
|
CloneCommand |
CloneCommand.setBranchesToClone(Collection<String> branchesToClone) |
Set the branches or tags to clone.
|
CloneCommand |
CloneCommand.setCallback(CloneCommand.Callback callback) |
Register a progress callback.
|
CloneCommand |
CloneCommand.setCloneAllBranches(boolean cloneAllBranches) |
Set whether all branches have to be fetched.
|
CloneCommand |
CloneCommand.setCloneSubmodules(boolean cloneSubmodules) |
Set whether to clone submodules
|
CloneCommand |
CloneCommand.setDepth(int depth) |
Creates a shallow clone with a history truncated to the specified number
of commits.
|
CloneCommand |
CloneCommand.setDirectory(File directory) |
The optional directory associated with the clone operation.
|
CloneCommand |
CloneCommand.setFs(FS fs) |
Set the file system abstraction to be used for repositories created by
this command.
|
CloneCommand |
CloneCommand.setGitDir(File gitDir) |
Set the repository meta directory (.git)
|
CloneCommand |
CloneCommand.setMirror(boolean mirror) |
Set up a mirror of the source repository.
|
CloneCommand |
CloneCommand.setNoCheckout(boolean noCheckout) |
Set whether to skip checking out a branch
|
CloneCommand |
CloneCommand.setNoTags() |
Set the --no-tags option.
|
CloneCommand |
CloneCommand.setProgressMonitor(ProgressMonitor monitor) |
The progress monitor associated with the clone operation.
|
CloneCommand |
CloneCommand.setRemote(String remote) |
The remote name used to keep track of the upstream repository for the
clone operation.
|
CloneCommand |
CloneCommand.setShallowSince(Instant shallowSince) |
Creates a shallow clone with a history after the specified time.
|
CloneCommand |
CloneCommand.setShallowSince(OffsetDateTime shallowSince) |
Creates a shallow clone with a history after the specified time.
|
CloneCommand |
CloneCommand.setTagOption(TagOpt tagOption) |
Set the tag option used for the remote configuration explicitly.
|
CloneCommand |
CloneCommand.setURI(String uri) |
Set the URI to clone from
|