diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-02-02 00:38:34 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2016-02-02 00:38:34 +0530 |
commit | f3e6e80e13103cbf210c95b5f601bc448a0aecaa (patch) | |
tree | aae9962b2b26c2664084e1f8403dd32b430b7d4e /guides/source | |
parent | 04dea729e3151b57ee15d88a38100b2951b84335 (diff) | |
parent | b818fd3b45bff94865c0e9bbae3ec490a12ccf98 (diff) | |
download | rails-f3e6e80e13103cbf210c95b5f601bc448a0aecaa.tar.gz rails-f3e6e80e13103cbf210c95b5f601bc448a0aecaa.tar.bz2 rails-f3e6e80e13103cbf210c95b5f601bc448a0aecaa.zip |
Merge pull request #23406 from hackerkid/master
.git added to https repo urls
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/contributing_to_ruby_on_rails.md | 10 |
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 0ec6c99301..0f98d12217 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 https://github.com/JohnSmith/rails +$ git remote add JohnSmith https://github.com/JohnSmith/rails.git $ 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 https://github.com/rails/rails +$ git clone https://github.com/rails/rails.git ``` 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 https://github.com:<your user name>/rails +$ git remote add mine https://github.com:<your user name>/rails.git ``` 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 https://github.com/rails/rails +$ git remote add rails https://github.com/rails/rails.git ``` 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 remote add upstream https://github.com/rails/rails.git ``` You can call this remote whatever you'd like, but if you don't use `upstream`, |