Example usage for Java org.eclipse.jgit.api PushCommand fields, constructors, methods, implement or subclass
The text is from its open source code.
PushCommand | add(Ref ref) Add a reference to push. |
PushCommand | add(String nameOrSpec) Add a reference to push. |
Iterable | call() Execute the push command with all the options and parameters collected by the setter methods of this class. |
String | getRemote() Get remote name |
PushCommand | setDryRun(boolean dryRun) Sets whether the push operation should be a dry run |
PushCommand | setForce(boolean force) Sets the force preference for push operation. |
PushCommand | setProgressMonitor(ProgressMonitor monitor) The progress monitor associated with the push operation. |
PushCommand | setPushAll() Push all branches under refs/heads/*. |
PushCommand | setPushTags() Push all tags under refs/tags/*. |
PushCommand | setRefSpecs(RefSpec... specs) The ref specs to be used in the push operation |
PushCommand | setRefSpecs(List The ref specs to be used in the push operation |
PushCommand | setRemote(String remote) The remote (uri or name) used for the push operation. |