Disconnecting a Folder From SVN

  • Estimated read time: 2 min read
  • Written by Chad Campbell on Jul 18th 2013

Sometimes you want a directory or folder to be unhinged from source control. This post will show you the quickest way to disconnect a local directory from SVN via TortoiseSVN. Please note that disconnecting a local directory from SVN may also be known as unlinking a directory or unmapping a folder, among other things. To disconnect a directory from SVN with TortoiseSVN, do the following four steps:

Step 1: Find Your Directory

Locate the directory that you want to disconnect from SVN.

Alt text

Step 2: Right-Click and Choose "Export..." from the context menu.

Once you choose "Export..." a dialog will appear. That dialog will say "Select folder to export to."

Alt text

Step 3: Choose the same folder

Navigate to the path of the folder you want to disconnect from SVN. Choose the exact same folder that you want to disconnect from SVN. This may seem recursive, that's ok.

Alt text

Step 4: Confirm that you want to disconnect the folder from SVN.

Simply click "Remove from version control"

Alt text

In Closing

These four steps are the fastest way to disconnect a folder from SVN using TortoiseSVN. You may run into this situation if you're working with an existing code base. For instance if you join a new team or start a new job. Either way, in those types of scenarios, you may run into other questions. If you do, please post them in the comments below.


comments powered by Disqus

Chad Campbell
Chad Campbell

Chad is an independent software professional. He has been named a Microsoft MVP five times. His books have been translated into multiple languages and distributed worldwide. He holds a computer science degree from Purdue University, where he also studied psychology.

Chad has built sites, apps, frameworks, libraries, and platforms using Java, .NET, and Node. He's ran his own startups and has created software for Fortune 100 companies. In short, Chad knows how to create software. From ideation to delivery. From start-to-finish.

Follow Chad Online