Skip to content

Commit acf4123

Browse files
authored
Merge pull request #836 from jldugger/jldugger/feature-config
add a config setting for prefix
2 parents db3389a + e8ee367 commit acf4123

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)