Skip to content

Commit e8ee367

Browse files
committed
add a config setting for prefix
1 parent db3389a commit e8ee367

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

bin/git-feature

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env bash
22

3-
branch_prefix=feature
3+
branch_prefix=$(git config --get git-extras.feature.prefix)
4+
5+
if [ -z "$branch_prefix" ]; then
6+
branch_prefix="feature"
7+
fi
8+
49
merge_mode="--no-ff"
510
declare -a argv
611
while test $# != 0

0 commit comments

Comments
 (0)