Don't delete branch by defautl
This commit is contained in:
parent
f4d94df926
commit
867c6a1f46
1 changed files with 2 additions and 2 deletions
|
@ -54,9 +54,9 @@ if [ ! "$branch" = "master" ]; then
|
|||
git checkout master
|
||||
git merge $branch
|
||||
|
||||
read -p "Delete branch $branch ? (Y/n)" choice
|
||||
read -p "Delete branch $branch ? (y/N)" choice
|
||||
case "$choice" in
|
||||
y|Y|'' )
|
||||
y|Y )
|
||||
git branch -D $branch
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue