Connect to git repo in Visual Studio Online

I am trying to connect to a git repository on Visual Studio online using git for Windows (the one provided by visual studio in command explorer).

I have enabled alternate credentials , but no matter what I do, I get the following message:

fatal: unable to access 'https://xxxxxxxxx.visualstudio.com/DefaultCollection/******/_git/SIT-Prototypes/': Failed connect to xxxxxxxxx.visualstudio.com:443; No error

      

I have tried the following command lines:

git clone https://xxxxxxxxx.visualstudio.com/DefaultCollection/******/_git/SIT-prototypes

git clone https://username:password@xxxxxxxxx.visualstudio.com/DefaultCollection/******/_git/SIT-prototypes

git clone https://xxxxxxxxx.visualstudio.com/DefaultCollection/******/_git/SIT-prototypes -u=username -p=password

      

Anyone with a miracle solution?

+3


source to share


1 answer


Do you work with a proxy? If so, you should use the commandgit config --global http.proxy http://@yourproxy.com:port



I don't see any other errors that could lead to these errors if you actually enabled alternate credentials ...

+4


source







All Articles