| Constructor and Description |
|---|
InitCommand() |
| Modifier and Type | Method and Description |
|---|---|
Git |
call()
Executes the
Init command. |
InitCommand |
setBare(boolean bare) |
InitCommand |
setDirectory(File directory)
The optional directory associated with the init operation.
|
public Git call() throws GitAPIException
Init command.call in interface Callable<Git>Git object with associated repositoryGitAPIExceptionpublic InitCommand setDirectory(File directory)
directory - the directory to init topublic InitCommand setBare(boolean bare)
bare - whether the repository is bare or notCopyright © 2014. All rights reserved.