Skip to content

Commit 90210e0

Browse files
authored
Merge pull request #322 from RomkaV/patch-1
Checkout development from remote on feature start
2 parents cb93c2f + db10c58 commit 90210e0

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)