Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork937
Closed
Milestone
Description
If the system git is < 2.7, and the URL is one that git expects to use SSH access on, but SSH isn't working for any reason, thenself.repo.git.remote("show", self.name)
here in remote.py will fail with:
GitCommandError:Cmd('git')faileddueto:exitcode(128)cmdline:gitremoteshoworiginstderr: 'Permissiondenied (publickey).fatal:Couldnotreadfromremoterepository.Pleasemakesureyouhavethecorrectaccessrightsandtherepositoryexists.'
or related errors if SSH is not installed or on the path.
This can be fixed by falling back togit config --get remote.%s.url' % self.name
which just reads the URL directly from the configuration.
Metadata
Metadata
Assignees
Labels
No labels