From 49ca9099dc75d0d686ec6737da36637cbee1c000 Mon Sep 17 00:00:00 2001 From: No big deal <69958306+alex20230721@users.noreply.github.com> Date: Sat, 5 Oct 2024 17:23:19 +0800 Subject: [PATCH] Update base.py (#1965) Improve documentation around opening repositories. Co-authored-by: Sebastian Thiel --- git/repo/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/repo/base.py b/git/repo/base.py index 346248ddb..db89cdf41 100644 --- a/git/repo/base.py +++ b/git/repo/base.py @@ -179,7 +179,7 @@ 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 worktree directory or the .git directory itself:: repo = Repo("/Users/mtrier/Development/git-python") repo = Repo("/Users/mtrier/Development/git-python.git")