Don't delete branch by defautl
This commit is contained in:
parent
af1ba4f95e
commit
96a5d45950
1 changed files with 2 additions and 2 deletions
|
@ -50,9 +50,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