aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-28 18:42:39 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-28 18:42:39 +0000
commit10e7961f993ba91f9bb5daf4d7feaa3014d7449f (patch)
tree5e66cda7651c2e83679dc64ce26acfb81898f126 /doc
parent965b947fff6453464acfc9726db09db359db920b (diff)
downloadruby-10e7961f993ba91f9bb5daf4d7feaa3014d7449f.tar.gz
doc/contributing.rdoc: allow/encourage other git hosts
git is a distributed system, so make it clear to potential contributors that it does not and should not matter where their repositories are hosted. Furthermore, it should be possible to contribute to Open Source projects by relying only on Open Source tools, protocols and APIs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
-rw-r--r--doc/contributing.rdoc13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/contributing.rdoc b/doc/contributing.rdoc
index 9d9fbdf2da..c6ccc68302 100644
--- a/doc/contributing.rdoc
+++ b/doc/contributing.rdoc
@@ -436,7 +436,8 @@ your working branch:
Now that you've got some code you want to contribute, let's get set up to
generate a patch. Start by forking the github mirror, check the {github docs on
forking}[https://help.github.com/articles/fork-a-repo] if you get stuck here.
-here. You will also need a github account if you don't yet have one.
+here. You will only need a github account if you intend to host your repository
+on github.
Next copy the writable url for your fork and add it as a git remote, replace
"my_username" with your github account name:
@@ -454,6 +455,12 @@ the patch for you, save the file to your computer and upload it to the bug
tracker. Alternatively you can submit a pull request, but for the best chances
to receive feedback add it is recommended you add it to redmine.
-
-
+Since git is a distributed system, you are welcome to host your git repository
+on any {publically accessible hosting
+site}[https://git.wiki.kernel.org/index.php/GitHosting], including {hosting your
+own}[https://www.kernel.org/pub/software/scm/git/docs/user-manual.html#public-repositories]
+You may use the {'git format-patch'}[http://git-scm.com/docs/git-format-patch]
+command to generate patch files to upload to redmine. You may also use
+the {'git request-pull'}[http://git-scm.com/docs/git-request-pull] command for
+formatting pull request messages to redmine.