Update PR merge script

pull/2415/head
Kamran Ahmed 2 years ago
parent e0e730f298
commit 5ef4b698cb
  1. 6
      scripts/squash-merge.sh

@ -2,8 +2,6 @@
set -e
git reset --soft HEAD~$(git rev-list --count HEAD ^master)
current_branch=$(git branch --show-current)
git checkout master
git add -A
git commit -m "$1"
gh pr merge "$current_branch" -s -t "$1"

Loading…
Cancel
Save