Skip to content

Commit

Permalink
[scripts] add 'push --force' to pull-request
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Jan 15, 2024
1 parent 799a820 commit 4d6ec69
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/pull-request
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4d6ec69

Please sign in to comment.