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

README.md: Update description about Git repository

We started to switch from SVN to Git. Because GitHub would be more
reliable than our single-host cgit, I continued to list GitHub mirror
repository in the first place.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
k0kubun 2019-04-22 00:55:19 +00:00
parent 693c28d59f
commit 4c570abf77

View file

@ -31,23 +31,9 @@ like rvm, see:
https://www.ruby-lang.org/en/downloads/
### Subversion
The trunk of the Ruby source tree can be checked out with the following
command:
$ svn co https://svn.ruby-lang.org/repos/ruby/trunk/ ruby
There are some other branches under development. Try the following command
to see the list of branches:
$ svn ls https://svn.ruby-lang.org/repos/ruby/branches/
### Git
The mirror of the Ruby source tree can be checked out with the following
command:
The mirror of the Ruby source tree can be checked out with the following command:
$ git clone https://github.com/ruby/ruby.git
@ -56,7 +42,19 @@ to see the list of branches:
$ git ls-remote https://github.com/ruby/ruby.git
You may also want to use https://git.ruby-lang.org/ruby.git for better latency in Japan.
You may also want to use https://git.ruby-lang.org/ruby.git (actual trunk of Ruby source)
for better latency in Japan.
### Subversion
Stable branches for older Ruby versions can be checked out with the following command:
$ svn co https://svn.ruby-lang.org/repos/ruby/branches/ruby_2_6/ ruby
Try the following command to see the list of branches:
$ svn ls https://svn.ruby-lang.org/repos/ruby/branches/
## Ruby home page