public class FeatureRebaseCommand extends AbstractGitFlowCommand<Void>
Examples (flow is a JGitFlow instance):
Rebase a feature:
flow.featureRebase("feature").call();
gfConfig, git| Constructor and Description |
|---|
FeatureRebaseCommand(String name,
org.eclipse.jgit.api.Git git,
GitFlowConfiguration gfConfig)
Create a new feature rebase command instance.
|
| Modifier and Type | Method and Description |
|---|---|
Void |
call() |
requireCleanWorkingTree, requireGitFlowInitialized, requireLocalBranchAbsent, requireLocalBranchExists, requireLocalBranchNotBehindRemote, requireNoExistingHotfixBranches, requireNoExistingReleaseBranches, requireRemoteBranchAbsent, requireRemoteBranchExists, requireTagAbsentpublic FeatureRebaseCommand(String name, org.eclipse.jgit.api.Git git, GitFlowConfiguration gfConfig)
FeatureFinishCommand.setRebase(boolean)name - The name of the featuregit - The git instance to usegfConfig - The GitFlowConfiguration to usepublic Void call() throws NotInitializedException, JGitFlowGitAPIException, DirtyWorkingTreeException, JGitFlowIOException, LocalBranchMissingException
Copyright © 2013 Atlassian. All Rights Reserved.