public interface CloneCommand extends GitCommand
| Modifier and Type | Method and Description |
|---|---|
CloneCommand |
depth(Integer depth)
When shallow cloning, allow for a depth to be set in cases where you need more than the immediate last commit.
|
CloneCommand |
noCheckout()
Deprecated.
|
CloneCommand |
reference(String reference)
reference.
|
CloneCommand |
refspecs(List<RefSpec> refspecs) |
CloneCommand |
repositoryName(String name)
Name of the remote, such as 'origin' (which is the default.)
|
CloneCommand |
shallow()
shallow.
|
CloneCommand |
shared()
When the repository to clone is on the local machine, instead of using hard links, automatically setup
.git/objects/info/alternates to share the objects with the source repository
|
CloneCommand |
tags(boolean tags) |
CloneCommand |
timeout(Integer timeout)
timeout.
|
CloneCommand |
url(String url)
url.
|
executeCloneCommand url(String url)
url - a String object.CloneCommand object.CloneCommand repositoryName(String name)
name - a String object.CloneCommand object.CloneCommand shallow()
CloneCommand object.CloneCommand shared()
CloneCommand object.CloneCommand reference(String reference)
reference - a String object.CloneCommand object.CloneCommand timeout(Integer timeout)
timeout - a Integer object.CloneCommand object.@Deprecated CloneCommand noCheckout()
CloneCommand object.CloneCommand tags(boolean tags)
CloneCommand refspecs(List<RefSpec> refspecs)
CloneCommand depth(Integer depth)
depth - number of revisions to be included in shallow cloneCloneCommand object.Copyright © 2013–2016. All rights reserved.