Skip to content

Commit db10c58

Browse files
authored
Fix FeautureStart checkout
1 parent cb93c2f commit db10c58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowFeatureStartMojo.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ public void execute() throws MojoExecutionException, MojoFailureException {
8282

8383
// fetch and check remote
8484
if (fetchRemote) {
85+
// checkout from remote if doesn't exist
86+
gitFetchRemoteAndCreate(gitFlowConfig.getDevelopmentBranch());
87+
88+
// fetch and check remote
8589
gitFetchRemoteAndCompare(gitFlowConfig.getDevelopmentBranch());
8690
}
8791

0 commit comments

Comments
 (0)