public class FeatureRebaseCommand extends AbstractGitFlowCommand<FeatureRebaseCommand,Void>
flow is a JGitFlow instance):
Rebase a feature:
flow.featureRebase("feature").call();
gfConfig, git, reporter, requirementHelper| Constructor and Description |
|---|
FeatureRebaseCommand(String branchName,
org.eclipse.jgit.api.Git git,
GitFlowConfiguration gfConfig)
Create a new feature rebase command instance.
|
| Modifier and Type | Method and Description |
|---|---|
Void |
call() |
protected String |
getCommandName() |
doFetchIfNeeded, doPushIfNeeded, enforcer, ensureLocalBranchesNotBehindRemotes, getBranchName, getScmMessagePrefix, getScmMessageSuffix, isAllowUntracked, isFetch, isPush, runBeforeAndGetPrefixedBranchName, runExtensionCommands, setAllowUntracked, setFetch, setPush, setScmMessagePrefix, setScmMessageSuffixpublic FeatureRebaseCommand(String branchName, org.eclipse.jgit.api.Git git, GitFlowConfiguration gfConfig)
FeatureFinishCommand.setRebase(boolean)git - The git instance to usegfConfig - The GitFlowConfiguration to usepublic Void call() throws NotInitializedException, JGitFlowGitAPIException, DirtyWorkingTreeException, JGitFlowIOException, LocalBranchMissingException
protected String getCommandName()
getCommandName in class AbstractGitFlowCommand<FeatureRebaseCommand,Void>Copyright © 2023 DV Bern AG. All rights reserved.