How do I remove a folder from source control with TortoiseSVN?

前端 未结 13 513
[愿得一人]
[愿得一人] 2020-12-22 18:30

How do I remove a folder from being source controlled with TortoiseSVN?

13条回答
  •  有刺的猬
    2020-12-22 19:14

    If you want to remove the folder from source control but keep it locally, the easiest way would be to

    1. create a backup of the folder (just copy it somewhere else)
    2. follow the instructions for deleting it
    3. restore the folder
    4. tell subversion to "Ignore" the folder

    You should also delete the .svn directory that's kicking around in the folder that you're removing or you'll end up confusing svn/tortoise. You can also do an "Export" for step 1 which will remove any .svn directories for you (if you're doing this for a whole directory tree rather than a single directory, this is a lot more convenient than cleaning the folders out by hand).

提交回复
热议问题