|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gradle.api.DefaultTask
org.ajoberstar.gradle.git.tasks.GitBase
org.ajoberstar.gradle.git.tasks.GitPull
public class GitPull extends GitBase
Task to incorporate changes from a remote repository into the current branch of a local Git repository.
Method Summary | |
---|---|
void
|
credentials(groovy.lang.Closure closure)
Configured the credentials to be used when pulling from the repo. |
PasswordCredentials
|
getCredentials()
Gets the credentials to be used when pulling from the repo. |
void
|
pullRepo()
Pulls changes from a remote Git repository and merges them into the current branch. |
void
|
setCredentials(PasswordCredentials credentials)
Sets the credentials to use when pulling from the repo. |
Methods inherited from class GitBase | |
---|---|
getGit, getRepoDir, setRepoPath |
Method Detail |
---|
ssWarnings("rawtypes") public public void credentials(groovy.lang.Closure closure)
closure
- the configuration closure
@Option al public public PasswordCredentials getCredentials()
tion public public void pullRepo()
public void setCredentials(PasswordCredentials credentials)
credentials
- the credentials
Groovy Documentation