3wic
3wic

Reputation: 500

Connect to git repo on Visual Studio Online

I'm trying to connect to a git repository on visual studio online using git for windows (the one provide by visual studio on team explorer).

I enabled alternate credentials but no matter what I do I got 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 tried the following command lines :

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

git clone https://username:[email protected]/DefaultCollection/******/_git/SIT-prototypes

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

Anyone with a miracle solution?

Upvotes: 3

Views: 1645

Answers (1)

dotixx
dotixx

Reputation: 1500

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

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

Upvotes: 4

Related Questions