aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
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")