public class RepoUtil extends Object
Constructor and Description |
---|
RepoUtil() |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.jgit.api.Git |
createEmptyRepository(File dir) |
static org.eclipse.jgit.api.Git |
createRepositoryWithBranches(File dir,
String... branches) |
static org.eclipse.jgit.api.Git |
createRepositoryWithMaster(File dir) |
static org.eclipse.jgit.api.Git |
createRepositoryWithMasterAndDevelop(File dir) |
public static org.eclipse.jgit.api.Git createEmptyRepository(File dir) throws org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.GitAPIException
public static org.eclipse.jgit.api.Git createRepositoryWithMaster(File dir) throws org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.GitAPIException
public static org.eclipse.jgit.api.Git createRepositoryWithMasterAndDevelop(File dir) throws org.eclipse.jgit.api.errors.GitAPIException
org.eclipse.jgit.api.errors.GitAPIException
Copyright © 2017 Atlassian. All rights reserved.