Here is my git url as reported by Azure TFS:
https://[email protected]/mycompany/myproject/_git/myproject
Here is my clone command
git clone https://myusername:mypass@[email protected]/mycompany/myproject/_git/myproject
However, I am unable to access the repository. The error is:
Could not resolve host: [email protected]
Can someone please suggest how to overcome this? Regards.
maybe you dont have internet connection. you can check connection.
This was from the hint in phd's comment. Turns out, Azure generated url is somewhat misleading. Instead of,
https://[email protected]/mycompany/myproject/_git/myproject
it should really be:
https://dev.azure.com/mycompany/myproject/_git/myproject
This way, the following would work:
https://myuser:[email protected]/mycompany/myproject/_git/myproject
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With