Class GitClient

java.lang.Object
com.xebialabs.xlrelease.scm.connector.GitClient

public class GitClient extends Object
  • Constructor Details

  • Method Details

    • getLatestRevision

      public String getLatestRevision() throws org.eclipse.jgit.api.errors.GitAPIException
      Throws:
      org.eclipse.jgit.api.errors.GitAPIException
    • getLatestRevisionObjectId

      public org.eclipse.jgit.lib.ObjectId getLatestRevisionObjectId() throws org.eclipse.jgit.api.errors.GitAPIException
      Throws:
      org.eclipse.jgit.api.errors.GitAPIException
    • fetchRemoteReferences

      public Collection<org.eclipse.jgit.lib.Ref> fetchRemoteReferences() throws org.eclipse.jgit.api.errors.GitAPIException
      Throws:
      org.eclipse.jgit.api.errors.GitAPIException
    • removeCurrentGitConnectionSettings

      public static void removeCurrentGitConnectionSettings()