diff options
author | Will Kahn-Greene <willg@bluesock.org> | 2011-04-30 11:17:35 -0400 |
---|---|---|
committer | Will Kahn-Greene <willg@bluesock.org> | 2011-04-30 11:17:35 -0400 |
commit | 845c3ae25071dd53c5e2989f0769a5559fdce8b4 (patch) | |
tree | 815468696fd1abc21d9adca695afa42001844ff3 /docs/git.rst | |
parent | 87b44d61ef4c1ace855540ab35f047a2067e277c (diff) | |
download | mediagoblin-845c3ae25071dd53c5e2989f0769a5559fdce8b4.tar.lz mediagoblin-845c3ae25071dd53c5e2989f0769a5559fdce8b4.tar.xz mediagoblin-845c3ae25071dd53c5e2989f0769a5559fdce8b4.zip |
Adds section on git
* instructions for contributing patches
* learning git
* learning other utilities
Diffstat (limited to 'docs/git.rst')
-rw-r--r-- | docs/git.rst | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/docs/git.rst b/docs/git.rst new file mode 100644 index 00000000..0db1dacf --- /dev/null +++ b/docs/git.rst @@ -0,0 +1,68 @@ +========================== + Git, Cloning and Patches +========================== + +GNU MediaGoblin uses git for all our version control and we have +the repositories hosted on `Gitorious <http://gitorious.org/>`_. + +We have two repositories. One is for the project and the other is for +the project website. + + +How to clone the project +======================== + +Do:: + + git clone git://gitorious.org/mediagoblin/mediagoblin.git + + +How to send in patches +====================== + +All patches should be tied to issues in the `issue tracker +<http://bugs.foocorp.net/projects/mediagoblin/issues>`_. +That makes it a lot easier for everyone to track proposed changes and +make sure your hard work doesn't get dropped on the floor! + +If there isn't an issue for what you're working on, please create +one. The better the description of what it is you're trying to +fix/implement, the better everyone else is able to understand why +you're doing what you're doing. + +There are two ways you could send in a patch. + + +How to send in a patch from a publicly available clone +------------------------------------------------------ + +Add a comment to the issue you're working on with the following bits +of information: + +* the url for your clone +* the revs you want looked at +* any details, questions, or other things that should be known + + +How to send in a patch if you don't have a publicly available clone +------------------------------------------------------------------- + +Assuming that the remote is our repository on gitorious and the branch +to compare against is master, do the following: + +1. checkout the branch you did your work in +2. do:: + + git format-patch -o patches origin/master + +3. either: + + * tar up and attach the tarball to the issue you're working on, OR + * attach the patch files to the issue you're working on one at a + time + + +How to learn git +================ + +Check out :ref:`hacking-howto-git`! |