Skip to content

Commit

Permalink
docs: clarify git-init recipe
Browse files Browse the repository at this point in the history
Fixes #336
  • Loading branch information
jdavid committed Feb 11, 2014
1 parent 56a2f0f commit 92547db
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/recipes/git-init.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ Create bare repository

.. code-block:: bash
$> git init --bare relative/path
$ git init --bare path/to/git
.. code-block:: python
>>> pygit2.init_repository('relative/path', True)
>>> pygit2.init_repository('path/to/git', True)
<pygit2.repository.Repository object at 0x10f08b680>
======================================================================
Expand All @@ -25,17 +25,17 @@ Create standard repository

.. code-block:: bash
$> git init relative/path
$ git init path/to/git
.. code-block:: python
>>> pygit2.init_repository('relative/path', False)
>>> pygit2.init_repository('path/to/git', False)
<pygit2.repository.Repository object at 0x10f08b680>
----------------------------------------------------------------------
References
----------------------------------------------------------------------

- git-init_.
- git-init_

.. _git-init: https://www.kernel.org/pub/software/scm/git/docs/git-init.html

0 comments on commit 92547db

Please sign in to comment.