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.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.
|
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 void |
AbstractBranchMergingCommand.cleanupBranchesIfNeeded(String branchToCheckout,
String... branchesToDelete) |
protected org.eclipse.jgit.lib.Ref |
AbstractBranchCreatingCommand.doCreateBranch(String rootBranch,
String newBranchName,
BranchCreatingExtension extension) |
protected void |
AbstractGitFlowCommand.doFetchIfNeeded(JGitFlowExtension fetchingExtension) |
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.doPushIfNeeded(JGitFlowExtension pushExtension,
boolean includeTags,
String... branchesToPush) |
protected void |
AbstractBranchCreatingCommand.doPushNewBranchIfNeeded(JGitFlowExtension pushExtension,
String branchToPush) |
protected void |
AbstractBranchMergingCommand.doTag(String branchToTag,
String tagMessage,
org.eclipse.jgit.api.MergeResult resultToLog,
BranchMergingExtension extension) |
protected void |
AbstractGitFlowCommand.ensureLocalBranchesNotBehindRemotes(String... branchesToTest) |
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)
Checks to see if a remote branch with the given name exists
|
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.requireGitFlowInitialized()
Requires that git flow has been initialized for the project represented by the internal {Git} instance
|
void |
RequirementHelper.requireLocalBranchAbsent(String branch)
Requires that a local branch with the given name does not yet exist
|
void |
RequirementHelper.requireLocalBranchExists(String branch)
Requires that a local branch with the given name exists
|
void |
RequirementHelper.requireNoExistingHotfixBranches()
Requires that no hotfix branches already exist
|
void |
RequirementHelper.requireNoExistingReleaseBranches()
Requires that no release branches already exist
|
void |
RequirementHelper.requireRemoteBranchAbsent(String branch)
Requires that a remote branch with the given name does not yet exist
|
void |
RequirementHelper.requireRemoteBranchExists(String branch)
Requires that a remote branch with the given name exists
|
void |
RequirementHelper.requireTagAbsent(String name)
Requires that a tag with the given name does not yet exist
|
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)
Tests to see if a working folder is clean. e.g. all changes have been committed.
|
Copyright © 2017 Atlassian. All rights reserved.