Don't delete branch by defautl
This commit is contained in:
parent
f4d94df926
commit
867c6a1f46
@ -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…
x
Reference in New Issue
Block a user