1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-24 03:32:33 +01:00

[scripts] add 'push --force' to pull-request

This commit is contained in:
Mike Fährmann 2024-01-15 22:37:33 +01:00
parent 799a8206ad
commit 4d6ec6958d
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -41,6 +41,10 @@ case "${2,,}" in
call git push "$USER" HEAD:"$BRANCH"
;;
"pf"|"push-force")
call git push --force "$USER" HEAD:"$BRANCH"
;;
"d"|"delete")
call git switch master
call git branch -D "$USER-$BRANCH"