1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use master branch instead of trunk.

This commit is contained in:
Hiroshi SHIBATA 2019-08-18 18:08:38 +09:00
parent 9132153930
commit 51edcbad5b
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -328,12 +328,12 @@ def update_default_gems(gem)
unless `git remote`.match(/ruby\-core/)
`git remote add ruby-core git@github.com:ruby/ruby.git`
`git fetch ruby-core --no-tags`
`git co ruby-core/trunk`
`git co ruby-core/master`
`git branch ruby-core`
end
`git co ruby-core`
`git fetch ruby-core trunk --no-tags`
`git rebase ruby-core/trunk`
`git fetch ruby-core master --no-tags`
`git rebase ruby-core/master`
`git co master`
`git stash`
`git pull --rebase`