Update base.py by alex20230721 · Pull Request #1965 · gitpython-developers/GitPython
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bare repositories are typically cloned with the .git extension, hence the example is representing something that is common. There is no point in trying to make it work for a non-bare clone.
However, you could add another line that shows that one can also point at the .git directory that is typically sitting in a worktree.
Bare repositories are typically cloned with the
.gitextension, hence the example is representing something that is common. There is no point in trying to make it work for a non-bare clone.However, you could add another line that shows that one can also point at the
.gitdirectory that is typically sitting in a worktree.
Sorry, I just learned about the concept of bare repo today.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, let me see if I can finalize this PR now.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters