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:
@@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
git reset --soft HEAD~$(git rev-list --count HEAD ^master)
|
current_branch=$(git branch --show-current)
|
||||||
git checkout master
|
git checkout master
|
||||||
git add -A
|
gh pr merge "$current_branch" -s -t "$1"
|
||||||
git commit -m "$1"
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user