summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorMichael Trier <mtrier@gmail.com>2008-05-07 20:47:35 -0400
committerMichael Trier <mtrier@gmail.com>2008-05-07 20:47:35 -0400
commit1f66cfbbce58b4b552b041707a12d437cc5f400a (patch)
treea71a31324498ab4eb4d673cdfb2d4b69209379ec /README
parent7156cece3c49544abb6bf7a0c218eb36646fad6d (diff)
downloadgitpython-1f66cfbbce58b4b552b041707a12d437cc5f400a.tar.gz
just more documentation fixes.
Diffstat (limited to 'README')
-rw-r--r--README8
1 files changed, 4 insertions, 4 deletions
diff --git a/README b/README
index 1fbe3e43..8725f820 100644
--- a/README
+++ b/README
@@ -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")