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.
1 parent e639fc8 commit 9bac64eCopy full SHA for 9bac64e
git/remote.py
@@ -544,8 +544,9 @@ def urls(self):
544
except GitCommandError as ex:
545
if any(msg in str(ex) for msg in ['correct access rights', 'cannot run ssh']):
546
# If ssh is not setup to access this repository, see issue 694
547
- result = self.repo.git.config('--get', 'remote.%s.url' % self.name)
548
- yield result
+ remote_details = self.repo.git.config('--get', 'remote.%s.url' % self.name)
+ for line in remote_details.split('\n'):
549
+ yield line
550
else:
551
raise ex
552
0 commit comments