1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-30 20:49:49 +02:00

Update PR merge script

This commit is contained in:
Kamran Ahmed
2022-10-11 19:54:35 +04:00
parent e0e730f298
commit 5ef4b698cb

View File

@@ -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"