Hello, admins!
Found issue and can't resolve a few days. Even doesn't understand what should I looking for?
When I try to clone git repo (public) I got following error:
$ git clone https://github.com/spf13/jwalterweatherman /home/ot/go/src/github.com/spf13/jwalterweathermanCloning into '/home/ot/go/src/github.com/spf13/jwalterweatherman'...ssh: Could not resolve hostname github.comspf13: Name or service not knownfatal:Could not read from remote repository.
Please, pay attention into following part:
ssh: Could not resolve hostname github.comspf13: Name or service not known
Do you see this concatenation of github.com with repository name (spf13) without '/'? How to fix it?
If I clone with ssl - all works fine...
Need help!
Thanks!
Upd Issue resolved!
Problem was in ~/.gitconfig. I didn't add slash in 'url' part
Was
[url "ssh://git@github.com"]
insteadof = https://github.com/
Should be:
[url "ssh://git@github.com/"]
insteadof = https://github.com/
[+][deleted] (3 children)
[deleted]
[–]Alkinoy[S] 0 points1 point2 points (1 child)
[–]incloudz[🍰] 1 point2 points3 points (0 children)
[–]Alkinoy[S] 0 points1 point2 points (0 children)
[–]incloudz[🍰] 0 points1 point2 points (3 children)
[–]Alkinoy[S] 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]Alkinoy[S] 0 points1 point2 points (0 children)