From b4a0e1a59a36149d2d293b3fee75ead4e27a2742 Mon Sep 17 00:00:00 2001 From: No big deal <69958306+alex20230721@users.noreply.github.com> Date: Sat, 5 Oct 2024 17:03:20 +0800 Subject: [PATCH] Update base.py --- git/repo/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")