mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
Also clean up branch for worktree
This commit is contained in:
parent
d21616eeb0
commit
409ce8c3da
1 changed files with 2 additions and 1 deletions
|
@ -206,7 +206,8 @@ update-github: fetch-github
|
|||
git -C "$(srcdir)" remote add fork-$(PR) git@github.com:$(FORK_REPO).git
|
||||
git -C "$(GITHUB_UPDATE_WORKTREE)" push fork-$(PR) gh-$(PR):$(PR_BRANCH)
|
||||
git -C "$(srcdir)" remote rm fork-$(PR)
|
||||
git -C "$(srcdir)" worktree remove --force $(GITHUB_UPDATE_WORKTREE)
|
||||
git -C "$(srcdir)" worktree remove $(notdir $(GITHUB_UPDATE_WORKTREE))
|
||||
git -C "$(srcdir)" branch -D gh-$(PR)
|
||||
|
||||
.PHONY: pull-github
|
||||
pull-github: fetch-github
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue