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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation4 Commits5 Checks22 Files changed

Conversation

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

[ Show hidden characters]({{ revealButtonHref }})

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

2 participants

@alex20230721 @Byron