generated from Luis/nextjs-python-web-template
tea-create-pr: use force push
This commit is contained in:
@@ -21,8 +21,7 @@ rest=$(echo "$COMMIT_MSG" | tail -n+2)
|
|||||||
if [[ "$firstLine" == "$rest" ]]; then
|
if [[ "$firstLine" == "$rest" ]]; then
|
||||||
rest=""
|
rest=""
|
||||||
fi
|
fi
|
||||||
|
git push --force -u "$remoteName" HEAD:refs/heads/"$tempRemoteBranch"
|
||||||
git push -u "$remoteName" HEAD:refs/heads/"$tempRemoteBranch"
|
|
||||||
|
|
||||||
tea pr create \
|
tea pr create \
|
||||||
--title "$firstLine" \
|
--title "$firstLine" \
|
||||||
|
|||||||
Reference in New Issue
Block a user