@Operation('pull') class PullOp extends java.lang.Object
Pulls changes from the remote on the current branch. If the changes
conflict, the pull will fail, any conflicts can be retrieved with
grgit.status(), and throwing an exception.
| Constructor and description |
|---|
PullOp
(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() |
The name of the remote branch to pull. If not set, the current branch's configuration will be used.
Rebase on top of the changes when they are pulled in, if
true. false (the default) otherwise.
The name of the remote to pull. If not set, the current branch's configuration will be used.
Groovy Documentation