Update base.py by alex20230721 · Pull Request #1965 · gitpython-developers/GitPython

@alex20230721

@alex20230721

Byron

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.

@alex20230721

@alex20230721

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.

Sorry, I just learned about the concept of bare repo today.

@alex20230721

@alex20230721

Byron

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.

@Byron