mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add make checkout-github
too
You can use this like `make checkout-github PR=1234`
This commit is contained in:
parent
116f91ab50
commit
6de9128fe9
1 changed files with 4 additions and 0 deletions
|
@ -168,6 +168,10 @@ fetch-github:
|
|||
fi
|
||||
git -C "$(srcdir)" fetch -f github "pull/$(PR)/head:gh-$(PR)"
|
||||
|
||||
.PHONY: checkout-github
|
||||
checkout-github: fetch-github
|
||||
git -C "$(srcdir)" checkout "gh-$(PR)"
|
||||
|
||||
.PHONY: merge-github
|
||||
merge-github: fetch-github
|
||||
$(eval GITHUB_MERGE_BASE := $(shell git -C "$(srcdir)" log -1 --format=format:%H))
|
||||
|
|
Loading…
Reference in a new issue