1
0
Fork 0
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:
Takashi Kokubun 2019-04-25 18:05:51 +09:00
parent 116f91ab50
commit 6de9128fe9
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

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