public class GitUtil extends Object
| Constructor and Description |
|---|
GitUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getGitCommitId(org.eclipse.jgit.lib.Repository repository) |
static org.eclipse.jgit.lib.Repository |
getGitRepository(org.apache.maven.project.MavenProject project) |
public static org.eclipse.jgit.lib.Repository getGitRepository(org.apache.maven.project.MavenProject project)
throws IOException
IOExceptionpublic static String getGitCommitId(org.eclipse.jgit.lib.Repository repository) throws org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.GitAPIExceptionCopyright © 2017. All rights reserved.