diff --git a/git/repo/base.py b/git/repo/base.py index 6af680850..f05dcaec8 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -179,10 +179,10 @@ def __init__( R"""Create a new :class:`Repo` instance. :param path: - The path to either the root git directory or the bare git repo:: + The path to either the root git directory, the .git directory under the root git directory or the bare git repo:: repo = Repo("/Users/mtrier/Development/git-python") - repo = Repo("/Users/mtrier/Development/git-python/.git") + repo = Repo("/Users/mtrier/Development/git-python.git") repo = Repo("~/Development/git-python.git") repo = Repo("$REPOSITORIES/Development/git-python.git") repo = Repo(R"C:\Users\mtrier\Development\git-python\.git")