aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Schneeman <richard.schneeman@gmail.com>2016-02-01 12:49:50 -0600
committerRichard Schneeman <richard.schneeman@gmail.com>2016-02-01 12:49:50 -0600
commit2341a8e2401f782db5f133c3a34bc487d299ebdc (patch)
tree9e6ed861a74348491f3d3774fafbcd9654b6f18a
parent4f2bce959b24fa519307c21481c240b9d35d9540 (diff)
parent25cf3f0d7cbb0307839c748fa8ee416a07e5e0e8 (diff)
downloadrails-2341a8e2401f782db5f133c3a34bc487d299ebdc.tar.gz
rails-2341a8e2401f782db5f133c3a34bc487d299ebdc.tar.bz2
rails-2341a8e2401f782db5f133c3a34bc487d299ebdc.zip
Merge pull request #23402 from hackerkid/master
git protocol replaced with https
-rw-r--r--guides/source/contributing_to_ruby_on_rails.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/guides/source/contributing_to_ruby_on_rails.md b/guides/source/contributing_to_ruby_on_rails.md
index f02f6a18ee..0ec6c99301 100644
--- a/guides/source/contributing_to_ruby_on_rails.md
+++ b/guides/source/contributing_to_ruby_on_rails.md
@@ -105,7 +105,7 @@ $ git checkout -b testing_branch
Then you can use their remote branch to update your codebase. For example, let's say the GitHub user JohnSmith has forked and pushed to a topic branch "orange" located at https://github.com/JohnSmith/rails.
```bash
-$ git remote add JohnSmith git://github.com/JohnSmith/rails.git
+$ git remote add JohnSmith https://github.com/JohnSmith/rails
$ git pull JohnSmith orange
```
@@ -204,7 +204,7 @@ In case you can't use the Rails development box, see [this other guide](developm
To be able to contribute code, you need to clone the Rails repository:
```bash
-$ git clone git://github.com/rails/rails.git
+$ git clone https://github.com/rails/rails
```
and create a dedicated branch:
@@ -506,7 +506,7 @@ Navigate to the Rails [GitHub repository](https://github.com/rails/rails) and pr
Add the new remote to your local repository on your local machine:
```bash
-$ git remote add mine git@github.com:<your user name>/rails.git
+$ git remote add mine https://github.com:<your user name>/rails
```
Push to your remote:
@@ -520,7 +520,7 @@ You might have cloned your forked repository into your machine and might want to
In the directory you cloned your fork:
```bash
-$ git remote add rails git://github.com/rails/rails.git
+$ git remote add rails https://github.com/rails/rails
```
Download new commits and branches from the official repository:
@@ -605,7 +605,7 @@ Rails repository. This is useful anyway, but just in case you don't have it set
up, make sure that you do this first:
```bash
-$ git remote add upstream https://github.com/rails/rails.git
+$ git remote add upstream https://github.com/rails/rails
```
You can call this remote whatever you'd like, but if you don't use `upstream`,