Package | Description |
---|---|
com.atlassian.jgitflow.core | |
com.atlassian.jgitflow.core.command | |
com.atlassian.jgitflow.core.util |
Modifier and Type | Method and Description |
---|---|
JGitFlow |
JGitFlowInitCommand.call() |
static JGitFlow |
JGitFlow.forceInit(File projectDir)
Initializes a project for use with git flow using a default context overriding any existing configuration.
|
static JGitFlow |
JGitFlow.forceInit(File projectDir,
InitContext context)
Initializes a project for use with git flow using a custom context overriding any existing configuration.
|
static JGitFlow |
JGitFlow.forceInit(File projectDir,
InitContext context,
String defaultOriginUrl)
Initializes a project for use with git flow using a custom context overriding any existing configuration.
|
static JGitFlow |
JGitFlow.forceInit(File projectDir,
String defaultOriginUrl)
Initializes a project for use with git flow using a default context overriding any existing configuration.
|
static JGitFlowInitCommand |
JGitFlow.forceInitCommand(File projectDir,
InitContext context)
Initializes a project for use with git flow using a custom context overriding any existing configuration.
|
static JGitFlow |
JGitFlow.get(File projectDir)
Gets an existing git flow project and returns a JGitFlow instance
|
static JGitFlow |
JGitFlow.getOrInit(File projectDir)
Initializes a project for use with git flow or gets an existing project and returns a JGitFlow instance.
|
static JGitFlow |
JGitFlow.getOrInit(File projectDir,
InitContext ctx)
Initializes a project for use with git flow using a custom context or gets an existing project and returns a JGitFlow instance.
|
static JGitFlow |
JGitFlow.getOrInit(File projectDir,
InitContext ctx,
String defaultOriginUrl)
Initializes a project for use with git flow using a custom context or gets an existing project and returns a JGitFlow instance.
|
static JGitFlow |
JGitFlow.getOrInit(File projectDir,
String defaultOriginUrl)
Initializes a project for use with git flow or gets an existing project and returns a JGitFlow instance.
|
static JGitFlow |
JGitFlow.init(File projectDir)
Initializes a project for use with git flow and returns a JGitFlow instance.
|
static JGitFlow |
JGitFlow.init(File projectDir,
InitContext context)
Initializes a project for use with git flow using a custom context and returns a JGitFlow instance.
|
static JGitFlow |
JGitFlow.init(File projectDir,
InitContext context,
String defaultOriginUrl)
Initializes a project for use with git flow using a custom context and returns a JGitFlow instance.
|
static JGitFlow |
JGitFlow.init(File projectDir,
String defaultOriginUrl)
Initializes a project for use with git flow and returns a JGitFlow instance.
|
void |
GitFlowConfiguration.setDevelop(String branchName)
Sets the name of the develop branch
|
void |
GitFlowConfiguration.setMaster(String branchName)
Sets the name of the master branch
|
void |
GitFlowConfiguration.setPrefix(String prefixName,
String prefixValue)
Sets the value for a given prefix
|
Modifier and Type | Method and Description |
---|---|
ReleaseMergeResult |
HotfixFinishCommand.call() |
Void |
HotfixPublishCommand.call() |
ReleaseMergeResult |
ReleaseFinishCommand.call() |
Void |
FeatureRebaseCommand.call() |
org.eclipse.jgit.lib.Ref |
HotfixStartCommand.call() |
org.eclipse.jgit.api.MergeResult |
FeatureFinishCommand.call() |
org.eclipse.jgit.lib.Ref |
FeatureStartCommand.call() |
Void |
FeaturePublishCommand.call() |
org.eclipse.jgit.lib.Ref |
ReleaseStartCommand.call() |
Void |
ReleasePublishCommand.call() |
protected org.eclipse.jgit.lib.Ref |
AbstractBranchCreatingCommand.doCreateBranch(String rootBranch,
String newBranchName,
BranchCreatingExtension extension) |
protected org.eclipse.jgit.api.MergeResult |
AbstractBranchMergingCommand.doMerge(String branchToMerge,
String mergeTarget,
MergeProcessExtensionWrapper extension) |
protected org.eclipse.jgit.api.MergeResult |
AbstractBranchMergingCommand.doMerge(String branchToMerge,
String mergeTarget,
MergeProcessExtensionWrapper extension,
boolean squash) |
protected org.eclipse.jgit.api.MergeResult |
AbstractBranchMergingCommand.doMerge(String branchToMerge,
String mergeTarget,
MergeProcessExtensionWrapper extension,
boolean squash,
org.eclipse.jgit.api.MergeCommand.FastForwardMode ffMode) |
protected void |
AbstractGitFlowCommand.ensureLocalBranchesNotBehindRemotes(String... branchesToTest) |
protected org.eclipse.jgit.revwalk.RevCommit |
AbstractBranchCreatingCommand.getStartingPoint(String fromBranch) |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.jgit.revwalk.RevCommit |
GitHelper.getCommitForString(org.eclipse.jgit.api.Git git,
String commitId)
Gets a commit for a given string with no body
|
static org.eclipse.jgit.revwalk.RevCommit |
GitHelper.getLatestCommit(org.eclipse.jgit.api.Git git,
String branchName)
Gets the latest commit for a branch
|
static org.eclipse.jgit.lib.Ref |
GitHelper.getLocalBranch(org.eclipse.jgit.api.Git git,
String branchName)
Gets a reference to a local branch with the given name
|
static org.eclipse.jgit.lib.Ref |
GitHelper.getRemoteBranch(org.eclipse.jgit.api.Git git,
String branchName)
Gets a reference to a remote branch with the given name
|
static boolean |
GitHelper.isMergedInto(org.eclipse.jgit.api.Git git,
org.eclipse.jgit.revwalk.RevCommit commit,
String branchName)
Checks to see if a specific commit is merged into a branch
|
static boolean |
GitHelper.isMergedInto(org.eclipse.jgit.api.Git git,
String commitString,
String baseBranch)
Checks to see if one branch is merged into another
|
static boolean |
GitHelper.localBranchBehindRemote(org.eclipse.jgit.api.Git git,
String branch) |
void |
RequirementHelper.requireCleanWorkingTree(boolean allowUntracked)
Requires that the local working tree has no un-committed changes
|
void |
RequirementHelper.requireCommitOnBranch(org.eclipse.jgit.revwalk.RevCommit commit,
String branch)
Requires that a local branch contains the given commit
|
void |
RequirementHelper.requireLocalBranchNotBehindRemote(String branch)
Requires that the local branch with the given name is not behind a remote brach with the same name
|
static CleanStatus |
GitHelper.workingTreeIsClean(org.eclipse.jgit.api.Git git,
boolean allowUntracked)
Tests to see if a working folder is clean. e.g. all changes have been committed.
|
Copyright © 2017 Atlassian. All rights reserved.