Silent remote rm

This commit is contained in:
CrazyMax 2019-08-31 23:43:53 +02:00
parent 513eddb823
commit 157dc1cd7e
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

View File

@ -25,7 +25,7 @@ if [ -z "$(git status --porcelain)" ]; then
exit 0
fi
git remote rm origin || true
git remote rm origin > /dev/null 2>&1 || true
git remote add origin "${REPO}"
git add .
git commit --allow-empty -m 'Deploy to GitHub pages'