Class GitUtil
java.lang.Object
org.modelingvalue.gradle.mvgplugin.GitUtil
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic Stringdescribe(org.eclipse.jgit.api.Git git) static org.eclipse.jgit.lib.PersonIdentstatic Stringstatic org.eclipse.jgit.transport.CredentialsProviderstatic voidpush(org.eclipse.jgit.api.Git git, boolean withTags) static booleanstatic voidstageCommitPush(Path root, String message) static voidstageCommitPush(Path root, String message, Set<Path> changes) static voidstatic void
-
Field Details
-
NO_CI_COMMIT_MARKER
- See Also:
-
-
Constructor Details
-
GitUtil
public GitUtil()
-
-
Method Details
-
describe
-
getAutomationIdent
public static org.eclipse.jgit.lib.PersonIdent getAutomationIdent() -
getCredentialProvider
public static org.eclipse.jgit.transport.CredentialsProvider getCredentialProvider() -
listTags
-
tag
-
untag
-
getBranch
-
stageCommitPush
-
stageCommitPush
-
stage
public static boolean stage(org.eclipse.jgit.api.Git git, Set<Path> changes) throws org.eclipse.jgit.api.errors.GitAPIException, IOException - Throws:
org.eclipse.jgit.api.errors.GitAPIExceptionIOException
-
commit
public static void commit(org.eclipse.jgit.api.Git git, String message) throws org.eclipse.jgit.api.errors.GitAPIException - Throws:
org.eclipse.jgit.api.errors.GitAPIException
-
push
public static void push(org.eclipse.jgit.api.Git git, boolean withTags) throws org.eclipse.jgit.api.errors.GitAPIException - Throws:
org.eclipse.jgit.api.errors.GitAPIException
-