Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
Modifier and Type | Method and Description |
---|---|
FetchCommand |
Git.fetch()
Returns a command object to execute a
Fetch command |
FetchCommand |
FetchCommand.setCheckFetchedObjects(boolean checkFetchedObjects)
If set to true, objects received will be checked for validity
|
FetchCommand |
FetchCommand.setDryRun(boolean dryRun)
Sets whether the fetch operation should be a dry run
|
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(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.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.
|
Copyright © 2017 Eclipse JGit Project. All rights reserved.