mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 09:28:27 +00:00
Fix branch nuking
This commit is contained in:
parent
1ff31ecf43
commit
f604182f8c
@ -105,7 +105,8 @@ rm -rf target
|
||||
# echo "## create git $GIT_BRANCH work branch"
|
||||
|
||||
# It first clean the existing branch if any
|
||||
git branch -D $GIT_BRANCH > /dev/null
|
||||
echo "(You can safely ignore branch not found below)"
|
||||
git branch -D $GIT_BRANCH > /dev/null || :
|
||||
|
||||
# Create the new branch
|
||||
git branch $GIT_BRANCH > /dev/null
|
||||
|
Loading…
x
Reference in New Issue
Block a user