public interface FetchCommand extends GitCommand
| Modifier and Type | Method and Description |
|---|---|
FetchCommand |
depth(Integer depth)
When shallow cloning, allow for a depth to be set in cases where you need more than the immediate last commit.
|
FetchCommand |
from(URIish remote,
List<RefSpec> refspecs)
from.
|
FetchCommand |
prune()
Deprecated.
favour
prune(boolean) |
FetchCommand |
prune(boolean prune)
prune.
|
FetchCommand |
shallow(boolean shallow)
shallow.
|
FetchCommand |
tags(boolean tags) |
FetchCommand |
timeout(Integer timeout)
timeout.
|
executeFetchCommand from(URIish remote, List<RefSpec> refspecs)
remote - a URIish object.refspecs - a List object.FetchCommand object.@Deprecated FetchCommand prune()
prune(boolean)FetchCommand object.FetchCommand prune(boolean prune)
prune - true if the fetch should prune.FetchCommand object.FetchCommand shallow(boolean shallow)
shallow - a boolean.FetchCommand object.FetchCommand timeout(Integer timeout)
timeout - a Integer object.FetchCommand object.FetchCommand tags(boolean tags)
FetchCommand depth(Integer depth)
depth - number of revisions to be included in shallow cloneCloneCommand object.Copyright © 2013–2020. All rights reserved.