8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Steps to reproduce (assumes GIT >= 2.5 and a repo with at least 2 branches)
git checkout <whatever>
git worktree add /tmp/foo another_branch
/tmp/foo
import git; git.Repo('.')
git.exc.InvalidGitRepositoryError