| Package | Description |
|---|---|
| com.atlassian.jgitflow.core | |
| com.atlassian.jgitflow.core.util |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.jgit.lib.Ref |
FeatureStartCommand.call() |
JGitFlow |
JGitFlowInitCommand.call() |
ReleaseMergeResult |
ReleaseFinishCommand.call() |
ReleaseMergeResult |
HotfixFinishCommand.call() |
Void |
ReleasePublishCommand.call() |
Void |
HotfixPublishCommand.call() |
org.eclipse.jgit.lib.Ref |
HotfixStartCommand.call() |
Void |
FeaturePublishCommand.call() |
org.eclipse.jgit.lib.Ref |
ReleaseStartCommand.call() |
Void |
FeatureRebaseCommand.call() |
Void |
FeatureFinishCommand.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 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.
|
boolean |
GitFlowConfiguration.gitFlowIsInitialized() |
boolean |
GitFlowConfiguration.hasDevelopConfigured() |
boolean |
GitFlowConfiguration.hasMasterConfigured() |
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.
|
protected void |
AbstractGitFlowCommand.requireCleanWorkingTree()
Requires that the local working tree has no un-committed changes
|
protected void |
AbstractGitFlowCommand.requireCommitOnBranch(org.eclipse.jgit.revwalk.RevCommit commit,
String branch)
Requires that a local branch contains the given commit
|
protected void |
AbstractGitFlowCommand.requireGitFlowInitialized()
Requires that git flow has been initialized for the project represented by the internal {Git} instance
|
protected void |
AbstractGitFlowCommand.requireLocalBranchAbsent(String branch)
Requires that a local branch with the given name does not yet exist
|
protected void |
AbstractGitFlowCommand.requireLocalBranchExists(String branch)
Requires that a local branch with the given name exists
|
protected void |
AbstractGitFlowCommand.requireNoExistingHotfixBranches()
Requires that no hotfix branches already exist
|
protected void |
AbstractGitFlowCommand.requireNoExistingReleaseBranches()
Requires that no release branches already exist
|
protected void |
AbstractGitFlowCommand.requireRemoteBranchAbsent(String branch)
Requires that a remote branch with the given name does not yet exist
|
protected void |
AbstractGitFlowCommand.requireRemoteBranchExists(String branch)
Requires that a remote branch with the given name exists
|
protected void |
AbstractGitFlowCommand.requireTagAbsent(String name)
Requires that a tag with the given name does not yet exist
|
| Modifier and Type | Method and Description |
|---|---|
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 List<org.eclipse.jgit.lib.Ref> |
GitHelper.listBranchesWithPrefix(org.eclipse.jgit.api.Git git,
String prefix)
Gets a list of branch references that begin with the given prefix
|
static boolean |
GitHelper.localBranchExists(org.eclipse.jgit.api.Git git,
String branchName)
Checks to see if a local branch with the given name exists
|
static boolean |
GitHelper.remoteBranchExists(org.eclipse.jgit.api.Git git,
String branch,
JGitFlowReporter reporter)
Checks to see if a remote branch with the given name exists
|
static boolean |
GitHelper.tagExists(org.eclipse.jgit.api.Git git,
String tagName)
Tests to see if a tag exists with the given name
|
static CleanStatus |
GitHelper.workingTreeIsClean(org.eclipse.jgit.api.Git git,
boolean allowUntracked,
JGitFlowReporter reporter)
Tests to see if a working folder is clean.
|
Copyright © 2013 Atlassian. All Rights Reserved.