diff options
Diffstat (limited to 'README')
| -rw-r--r-- | README | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -51,11 +51,11 @@ Initialize a Repo object The first step is to create a ``Repo`` object to represent your repository. >>> from git_python import * - >>> repo = Repo.new("/Users/mtrier/Development/git-python") + >>> repo = Repo("/Users/mtrier/Development/git-python") -In the above example, the directory ``/Users/mtrier/Development/git-python`` is my working -repo and contains the ``.git`` directory. You can also initialize GitPython with a -bare repo. +In the above example, the directory ``/Users/mtrier/Development/git-python`` +is my working repository and contains the ``.git`` directory. You can also +initialize GitPython with a bare repository. >>> repo = Repo.init_bare("/var/git/git-python.git") |
