@Operation('push') class PushOp extends java.lang.Object
Push changes to a remote repository.
| Type | Name and description |
|---|---|
boolean |
alltrue to push all branches, false (the default)
to only push the current one. |
boolean |
dryRuntrue if result of this operation should be just estimation
of real operation result, no real push is performed.
|
boolean |
forcetrue if branches should be pushed even if they aren't
a fast-forward, false (the default) if it should fail. |
java.util.List |
refsOrSpecsThe refs or refspecs to use when pushing. |
java.lang.String |
remoteThe remote to push to. |
boolean |
tagstrue to push tags, false (the default) otherwise. |
| Constructor and description |
|---|
PushOp
(Repository repo) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.Void |
call() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
true to push all branches, false (the default)
to only push the current one.
true if result of this operation should be just estimation
of real operation result, no real push is performed.
false (the default) if real push to remote repo should be performed.
true if branches should be pushed even if they aren't
a fast-forward, false (the default) if it should fail.
The refs or refspecs to use when pushing. If null
and all is false only push the current branch.
The remote to push to.
true to push tags, false (the default) otherwise.
Groovy Documentation