Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 519
3wic Avatar asked Jan 31 '26 15:01

3wic


1 Answers

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...

like image 120
dotixx Avatar answered Feb 03 '26 06:02

dotixx