Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I add a whole folder to Visual Studio Team Services (was TFS Online)

I'm currently trying Visual Studio Team Services, and I want to check in a whole folder containing code and more subfolders. I'm in the CODE->EXPLORER tab and when I right-click on the right side (the main area), a context menu appears where there is a menuitem Add. So, I tried adding an existing item, however, it won't let me put in folders. I tried then dragging the whole folder in the content area but it says error. How do I add folders in source control?

like image 695
g_b Avatar asked Feb 18 '16 12:02

g_b


Video Answer


3 Answers

I don't believe its possible to add folders from VSTS (formerly VSO) but you could connect to VSTS via VisualStudio and uses the Source Control Explorer to add folders.

enter image description here

enter image description here

enter image description here

like image 99
chief7 Avatar answered Oct 21 '22 07:10

chief7


You can create new folder directly in Visual Studio Team Services website using the Folder Management extension. Follow this steps:

  1. Login to your VSTS account, f.e. https://{account}.visualstudio.com
  2. In the top of website choose Browse Marketplace

Go to the Marketplace

  1. Search extension Folder management or visit direct this URL of extension
  2. Install the extension and choose an account to associate

Install Folder Management extension

  1. Go back to VSTS account and choose CODE in main menu

Now you can create new folder directly:

Create new folder in VSTS

like image 29
Miroslav Holec Avatar answered Oct 21 '22 07:10

Miroslav Holec


Use Visual Studio/Team Explorer. Map to a local folder, then just use windows explorer to copy/paste your folder/files into your mapped folder. In Team Explorer/VS it will pick up all the added files and you can check them all in in one operation.

like image 4
Dylan Smith Avatar answered Oct 21 '22 07:10

Dylan Smith