BLOG POST

Disconnecting a Folder From SVN




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.

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

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.

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

Simply click "Remove from version control"

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 scenrios, you may run into other questions. If you do, please post them in the comments below.