Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'develop'

  • Loading branch information...
commit f32b6f1e89c13e873b2bdf68990ab335e3149d42 2 parents cbdd531 + 8c19fa2
Adriaan Erasmus authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 git-flow-init
View
13 git-flow-init
@@ -242,6 +242,19 @@ cmd_default() {
local prefix
+ # Project branches
+ if ! git config --get gitflow.prefix.project >/dev/null 2>&1 || flag force; then
+ default_suggestion=$(git config --get gitflow.prefix.project || echo project/)
+ printf "Project branches? [$default_suggestion] "
+ if noflag defaults; then
+ read answer
+ else
+ printf "\n"
+ fi
+ [ "$answer" = "-" ] && prefix= || prefix=${answer:-$default_suggestion}
+ git config gitflow.prefix.project "$prefix"
+ fi
+
# Feature branches
if ! git config --get gitflow.prefix.feature >/dev/null 2>&1 || flag force; then
default_suggestion=$(git config --get gitflow.prefix.feature || echo feature/)
Please sign in to comment.
Something went wrong with that request. Please try again.