You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/barry/wc/git/scm-workbench/Source/Git/wb_git_project.py", line 217, in canPush
for ref in remote.refs:
File "/home/barry/wc/git/scm-workbench/Source/Git/git/remote.py", line 463, in refs
assert out_refs, "Remote %s did not have any references" % self.name
AssertionError: Remote origin did not have any references
I get this assert:
File "/home/barry/wc/git/scm-workbench/Source/Git/wb_git_project.py", line 217, in canPush
for ref in remote.refs:
File "/home/barry/wc/git/scm-workbench/Source/Git/git/remote.py", line 463, in refs
assert out_refs, "Remote %s did not have any references" % self.name
AssertionError: Remote origin did not have any references
But git remote -v is happy:
$ git remote -v
origin https://github.com/barry-scott/BarrysEmacs.git (fetch)
origin https://github.com/barry-scott/BarrysEmacs.git (push)
It seems that subgit used the .git/.config file to setup the remote. Here is the .git/config
It seems that GitPython should be looking in config as well to find remote info but is not.
The text was updated successfully, but these errors were encountered: