tea-create-pr: use force push

This commit is contained in:
Jörg Thalheim
2023-08-03 15:29:50 +02:00
parent 31a2d90df9
commit cfd1089ff3

View File

@@ -21,8 +21,7 @@ rest=$(echo "$COMMIT_MSG" | tail -n+2)
if [[ "$firstLine" == "$rest" ]]; then
rest=""
fi
git push -u "$remoteName" HEAD:refs/heads/"$tempRemoteBranch"
git push --force -u "$remoteName" HEAD:refs/heads/"$tempRemoteBranch"
tea pr create \
--title "$firstLine" \