| Type | Name and description |
|---|---|
boolean |
baretrue if the resulting repository should be bare,
false (the default) otherwise. |
boolean |
checkouttrue (the default) if a working tree should be checked out,
false otherwise |
Credentials |
credentialsThe username and credentials to use when checking out the repository and for subsequent remote operations on the repository. |
java.lang.Object |
dirThe directory to put the cloned repository. |
java.lang.String |
refToCheckoutThe remote ref that should be checked out after the repository is cloned. |
java.lang.String |
remoteThe name of the remote for the upstream repository. |
java.lang.String |
uriThe URI to the repository to be cloned. |
| 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 if the resulting repository should be bare,
false (the default) otherwise.
true (the default) if a working tree should be checked out,
false otherwise
The username and credentials to use when checking out the repository and for subsequent remote operations on the repository. This is only needed if hardcoded creds should be used.
The directory to put the cloned repository.
The remote ref that should be checked out after the repository is
cloned. Defaults to master.
The name of the remote for the upstream repository. Defaults
to origin.
The URI to the repository to be cloned.