Learn more about these different git repos.
Other Git URLs
local_branch_remote loads remote name from repo's config branch.*.remote. If there is no such config item, default to origin. This logic seems depend on switching to a release branch in advance.
local_branch_remote
branch.*.remote
origin
However, instead, this logic might be rewritten by reading from refs directly, for example with GitPython
import git repo = git.Repo('/path/to/repo') for ref in git.refs: ...
The original problem is not clear for now. Close this issue.
Metadata Update from @cqi: - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.