mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
git co
is alias of git checkout
This commit is contained in:
parent
42ac3f79ba
commit
c2700379ad
1 changed files with 3 additions and 3 deletions
|
@ -446,12 +446,12 @@ def update_default_gems(gem)
|
||||||
end
|
end
|
||||||
`git fetch ruby-core master --no-tags`
|
`git fetch ruby-core master --no-tags`
|
||||||
unless `git branch`.match(/ruby\-core/)
|
unless `git branch`.match(/ruby\-core/)
|
||||||
`git co ruby-core/master`
|
`git checkout ruby-core/master`
|
||||||
`git branch ruby-core`
|
`git branch ruby-core`
|
||||||
end
|
end
|
||||||
`git co ruby-core`
|
`git checkout ruby-core`
|
||||||
`git rebase ruby-core/master`
|
`git rebase ruby-core/master`
|
||||||
`git co master`
|
`git checkout master`
|
||||||
`git fetch origin master`
|
`git fetch origin master`
|
||||||
`git rebase origin/master`
|
`git rebase origin/master`
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue