public interface GitInitBuilder extends GitCommandBuilderSupport<GitInitBuilder>
ENV_AUTHOR_DATE, ENV_AUTHOR_EMAIL, ENV_AUTHOR_NAME, ENV_COMMITTER_DATE, ENV_COMMITTER_EMAIL, ENV_COMMITTER_NAME
Modifier and Type | Method and Description |
---|---|
GitInitBuilder |
bare(boolean value) |
GitCommand<?> |
build() |
GitInitBuilder |
directory(File value)
Specifies the directory which should be initialized for use as a Git repository.
|
GitInitBuilder |
directory(Path value)
Specifies the directory which should be initialized for use as a Git repository.
|
GitInitBuilder |
directory(String value)
Specifies the directory which should be initialized for use as a Git repository.
|
GitInitBuilder |
quiet(boolean value) |
GitInitBuilder |
shared(String value) |
GitInitBuilder |
template(File value)
Sets the
--template path to be used when initializing the repository on disk. |
GitInitBuilder |
template(Path value)
Sets the
--template path to be used when initializing the repository on disk. |
GitInitBuilder |
template(String value)
Sets the
--template path to be used when initializing the repository on disk. |
alternate, alternates, alternates, author, author, author, build, committer, committer, committer, withConfiguration, withConfiguration, withConfiguration, withConfiguration
@Nonnull GitCommand<?> build()
@Nonnull GitInitBuilder bare(boolean value)
@Nonnull GitInitBuilder directory(@Nonnull File value)
git init
.value
- the new repository's location on diskthis
@Nonnull GitInitBuilder directory(@Nonnull Path value)
git init
.value
- the new repository's location on diskthis
@Nonnull GitInitBuilder directory(@Nonnull String value)
git init
.value
- the new repository's location on diskthis
@Nonnull GitInitBuilder quiet(boolean value)
@Nonnull GitInitBuilder shared(@Nullable String value)
@Nonnull GitInitBuilder template(@Nullable File value)
--template
path to be used when initializing the repository on disk. The Git
distribution includes its own template, which can be overridden by using this flag.value
- the --template
path, or null
to clear the flagthis
@Nonnull GitInitBuilder template(@Nullable Path value)
--template
path to be used when initializing the repository on disk. The Git
distribution includes its own template, which can be overridden by using this flag.value
- the --template
path, or null
to clear the flagthis
@Nonnull GitInitBuilder template(@Nullable String value)
--template
path to be used when initializing the repository on disk. The Git
distribution includes its own template, which can be overridden by using this flag.value
- the --template
path, or null
to clear the flagthis
Copyright © 2019 Atlassian. All rights reserved.