Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
Modifier and Type | Method and Description |
---|---|
PushCommand |
PushCommand.add(Ref ref)
Add a reference to push.
|
PushCommand |
PushCommand.add(String nameOrSpec)
Add a reference to push.
|
PushCommand |
Git.push()
Return a command object to execute a
Push command |
PushCommand |
PushCommand.setAtomic(boolean atomic)
Requests atomic push (all references updated, or no updates).
|
PushCommand |
PushCommand.setDryRun(boolean dryRun)
Sets whether the push operation should be a dry run
|
PushCommand |
PushCommand.setForce(boolean force)
Sets the force preference for push operation.
|
PushCommand |
PushCommand.setOutputStream(OutputStream out)
Sets the output stream to write sideband messages to
|
PushCommand |
PushCommand.setProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the push operation.
|
PushCommand |
PushCommand.setPushAll()
Push all branches under refs/heads/*.
|
PushCommand |
PushCommand.setPushOptions(List<String> pushOptions)
Set the option strings associated with the push operation.
|
PushCommand |
PushCommand.setPushTags()
Push all tags under refs/tags/*.
|
PushCommand |
PushCommand.setReceivePack(String receivePack)
The remote executable providing receive-pack service for pack transports.
|
PushCommand |
PushCommand.setRefLeaseSpecs(List<RefLeaseSpec> specs)
The ref lease specs to be used in the push operation, for a
force-with-lease push operation.
|
PushCommand |
PushCommand.setRefLeaseSpecs(RefLeaseSpec... specs)
The ref lease specs to be used in the push operation, for a
force-with-lease push operation.
|
PushCommand |
PushCommand.setRefSpecs(List<RefSpec> specs)
The ref specs to be used in the push operation
|
PushCommand |
PushCommand.setRefSpecs(RefSpec... specs)
The ref specs to be used in the push operation
|
PushCommand |
PushCommand.setRemote(String remote)
The remote (uri or name) used for the push operation.
|
PushCommand |
PushCommand.setThin(boolean thin)
Set the thin-pack preference for push operation.
|
Copyright © 2020 Eclipse JGit Project. All rights reserved.