Skip to content

Commit af115ae

Browse files
authored
Merge pull request #278 from LiyouZhou/master
Add missing user field to git clone ssh url
2 parents 7eb8795 + 2cb7d59 commit af115ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbed/mbed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1369,7 +1369,7 @@ def formaturl(url, format="default"):
13691369
m = re.match(regex_git_url, url)
13701370
if m:
13711371
if format == "ssh":
1372-
url = 'ssh://%s/%s.git' % (m.group(2), m.group(3))
1372+
url = 'ssh://git@%s/%s.git' % (m.group(2), m.group(3))
13731373
elif format == "http":
13741374
url = 'http://%s/%s' % (m.group(2), m.group(3))
13751375
elif format == "https":

0 commit comments

Comments
 (0)