提交 31b55f92 authored 作者: Frederic's avatar Frederic

Fix internal doc.

上级 26b235cf
...@@ -29,23 +29,27 @@ To obtain developer access: register with `GitHub ...@@ -29,23 +29,27 @@ To obtain developer access: register with `GitHub
Clone your fork locally with Clone your fork locally with
.. code-block:: bash .. code-block:: bash
git clone git@github.com:your_github_login/Theano.git git clone git@github.com:your_github_login/Theano.git
and add a reference to the 'central' Theano repository with and add a reference to the 'central' Theano repository with
.. code-block:: bash .. code-block:: bash
git remote add central git://github.com/Theano/Theano.git git remote add central git://github.com/Theano/Theano.git
When working on a new feature in your own fork, start from an up-to-date copy When working on a new feature in your own fork, start from an up-to-date copy
of the trunk: of the trunk:
.. code-block:: bash .. code-block:: bash
git fetch central git fetch central
git checkout -b my_shiny_feature central/master git checkout -b my_shiny_feature central/master
Once your code is ready for others to review, push your branch to your github fork: Once your code is ready for others to review, push your branch to your github fork:
.. code-block:: bash .. code-block:: bash
git push -u origin my_shiny_feature git push -u origin my_shiny_feature
then go to your fork's github page on the github website, select your feature then go to your fork's github page on the github website, select your feature
...@@ -80,8 +84,8 @@ Once you have completed these steps, you should run the tests like this: ...@@ -80,8 +84,8 @@ Once you have completed these steps, you should run the tests like this:
.. code-block:: python .. code-block:: python
>>> import theano import theano
>>> theano.test() theano.test()
Or by running ``nosetests`` from your checkout directory. Or by running ``nosetests`` from your checkout directory.
...@@ -95,12 +99,14 @@ To update your library to the latest revision, you should have a branch ...@@ -95,12 +99,14 @@ To update your library to the latest revision, you should have a branch
that tracks the main trunk. You can add one with: that tracks the main trunk. You can add one with:
.. code-block:: bash .. code-block:: bash
git fetch central git fetch central
git branch trunk central/master git branch trunk central/master
Once you have such a branch, in order to update it, do: Once you have such a branch, in order to update it, do:
.. code-block:: bash .. code-block:: bash
git checkout trunk git checkout trunk
git pull git pull
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论