Class StudioGit.GitRunner

java.lang.Object
com.axelor.studio.service.git.StudioGit.GitRunner
Enclosing class:
StudioGit

public class StudioGit.GitRunner extends Object
  • Method Details

    • sync

      public void sync(Path from, String branch) throws org.eclipse.jgit.api.errors.GitAPIException, IOException
      Throws:
      org.eclipse.jgit.api.errors.GitAPIException
      IOException
    • sync

      public void sync(Path from, String branch, String message) throws org.eclipse.jgit.api.errors.GitAPIException, IOException
      Throws:
      org.eclipse.jgit.api.errors.GitAPIException
      IOException
    • checkout

      public void checkout(String branch) throws org.eclipse.jgit.api.errors.GitAPIException, IOException
      Throws:
      org.eclipse.jgit.api.errors.GitAPIException
      IOException
    • pull

      public void pull(boolean rebase) throws org.eclipse.jgit.api.errors.GitAPIException, IOException
      Throws:
      org.eclipse.jgit.api.errors.GitAPIException
      IOException
    • push

      public void push(boolean force, boolean withLease) throws org.eclipse.jgit.api.errors.GitAPIException, IOException
      Throws:
      org.eclipse.jgit.api.errors.GitAPIException
      IOException