FetchCommand |
FetchCommand.addShallowExclude(String shallowExclude) |
Deepens or shortens the history of a shallow repository to exclude
commits reachable from a specified remote branch or tag.
|
FetchCommand |
FetchCommand.addShallowExclude(ObjectId shallowExclude) |
Creates a shallow clone with a history, excluding commits reachable from
a specified remote branch or tag.
|
FetchCommand |
Git.fetch() |
Return a command object to execute a Fetch command
|
FetchCommand |
FetchCommand.setCallback(FetchCommand.Callback callback) |
Register a progress callback.
|
FetchCommand |
FetchCommand.setCheckFetchedObjects(boolean checkFetchedObjects) |
If set to true , objects received will be checked for validity
|
FetchCommand |
FetchCommand.setDepth(int depth) |
Limits fetching to the specified number of commits from the tip of each
remote branch history.
|
FetchCommand |
FetchCommand.setDryRun(boolean dryRun) |
Sets whether the fetch operation should be a dry run
|
FetchCommand |
FetchCommand.setForceUpdate(boolean force) |
Set fetch --force option
|
FetchCommand |
FetchCommand.setInitialBranch(String branch) |
Set the initial branch
|
FetchCommand |
FetchCommand.setProgressMonitor(ProgressMonitor monitor) |
The progress monitor associated with the fetch operation.
|
FetchCommand |
FetchCommand.setRecurseSubmodules(SubmoduleConfig.FetchRecurseSubmodulesMode recurse) |
Set the mode to be used for recursing into submodules.
|
FetchCommand |
FetchCommand.setRefSpecs(String... specs) |
The ref specs to be used in the fetch operation
|
FetchCommand |
FetchCommand.setRefSpecs(List<RefSpec> specs) |
The ref specs to be used in the fetch operation
|
FetchCommand |
FetchCommand.setRefSpecs(RefSpec... specs) |
The ref specs to be used in the fetch operation
|
FetchCommand |
FetchCommand.setRemote(String remote) |
The remote (uri or name) used for the fetch operation.
|
FetchCommand |
FetchCommand.setRemoveDeletedRefs(boolean removeDeletedRefs) |
If set to true , refs are removed which no longer exist in the
source
|
FetchCommand |
FetchCommand.setShallowSince(Instant shallowSince) |
Deepens or shortens the history of a shallow repository to include all
reachable commits after a specified time.
|
FetchCommand |
FetchCommand.setShallowSince(OffsetDateTime shallowSince) |
Deepens or shortens the history of a shallow repository to include all
reachable commits after a specified time.
|
FetchCommand |
FetchCommand.setTagOpt(TagOpt tagOpt) |
Sets the specification of annotated tag behavior during fetch
|
FetchCommand |
FetchCommand.setThin(boolean thin) |
Sets the thin-pack preference for fetch operation.
|
FetchCommand |
FetchCommand.setUnshallow(boolean unshallow) |
If the source repository is complete, converts a shallow repository to a
complete one, removing all the limitations imposed by shallow
repositories.
|