Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to TFS-unmap without losing physical files?

At the moment when unmapping a source on TFS Source Control in Visual Studio 2010, the local downloaded files are removed automatically.

How can I keep them untouched?

Nam.

like image 250
Nam G VU Avatar asked Feb 18 '11 11:02

Nam G VU


People also ask

How do I map a TFS project to a local folder?

From Visual Studio, go to the Team Explorer Connect page (Keyboard: Ctrl + 0, C) and then connect to the project. (If the project you want to open is not listed, choose Select Projects and then connect to the project.) Map the project to a folder on your dev machine. Map the workspace and get your code.

How do I Unmap Azure Devops?

Sign in to your organization ( https://dev.azure.com/{yourorganization} ). Organization settings. Select Projects, and then check one or more projects to delete. Select Delete.


1 Answers

In VS2012

"You can remove the mapping in the Manage Workspaces dialog (File -> Source Control -> Advanced -> Workspaces...) Pick your workspace and select edit, remove the entry for that mapping. Then hit OK. When prompted to perform a Get you can say "no" and the items will stay on your local disk until you next perform a Get."

I added some more information on to it.

Source: Remove Mapping

Just in case anyone else need help with this because i went for hours searching for the solution....and this is the way to see all the mappings you have and remove them if wanted without deleting local files.

like image 97
Mindless Avatar answered Oct 14 '22 20:10

Mindless