Class LocalGitSetupHelper
java.lang.Object
com.atlassian.bamboo.testutils.vcs.git.LocalGitSetupHelper
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic GitRepositoryDescriptor
cloneLocalRepository
(@NotNull GitRepositoryDescriptor localRepository) static @NotNull GitRepositoryDescriptor
createRepositoryFromZip
(@NotNull String zipResourceName) static GitRepositoryDescriptor
emptyRepository
(boolean bare) static @NotNull GitRepositoryDescriptor
static GitRepositoryDescriptor
static GitRepositoryDescriptor
mirrorLocalRepository
(@NotNull GitRepositoryDescriptor localRepository)
-
Field Details
-
GIT_DUMP_FILE_NAME
- See Also:
-
GIT_CONFIG_TIMEOUT
-
GIT_BRANCH_1
- See Also:
-
GIT_BRANCH_2
- See Also:
-
GIT_BRANCH_X
- See Also:
-
GIT_BRANCH_Y
- See Also:
-
GIT_REV_BRANCH_X_TIP
- See Also:
-
GIT_REV_BRANCH_Y_TIP
- See Also:
-
GIT_REV_BRANCH_1_TIP
- See Also:
-
GIT_REV_BRANCH_2_TIP
- See Also:
-
GIT_MASTER_TIP
- See Also:
-
BRANCHES
-
-
Constructor Details
-
LocalGitSetupHelper
public LocalGitSetupHelper()
-
-
Method Details
-
getRepositoryForReadOnlyAccess
-
getRepositoryForCommits
-
createRepositoryFromZip
@NotNull public static @NotNull GitRepositoryDescriptor createRepositoryFromZip(@NotNull @NotNull String zipResourceName) -
cloneLocalRepository
public static GitRepositoryDescriptor cloneLocalRepository(@NotNull @NotNull GitRepositoryDescriptor localRepository) -
emptyRepository
-
mirrorLocalRepository
public static GitRepositoryDescriptor mirrorLocalRepository(@NotNull @NotNull GitRepositoryDescriptor localRepository)
-