Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get entire GIT repo url in TFS?

Only got a repo name and project name from my colleague.

How do I get the entire GIT repo url in TFS? What pattern does it follow?

Could I directly use the url in the browser from web?

like image 259
spiderman Avatar asked Mar 29 '17 02:03

spiderman


1 Answers

Yes, you could directly use the url when you open the repo in the web portal.

A more common approach is using Clone command in the top right corner. You should either select http or ssh url and just click copy command.

enter image description here

As for the format, the url will be something as below:

http://yourtfsserver/[CollectionName]/_git/[gitRepoName]

More details please take a look at the answer from bryanmac in this question: Connect to git repository in TFS or Visual Studio Online

like image 164
PatrickLu-MSFT Avatar answered Sep 30 '22 21:09

PatrickLu-MSFT