Delete the .svn file in the project

The project downloaded from the SVN server will have a .svn file under each folder. Sometimes we need to delete it.

You can download the attachment directly, saving steps 1 and 2.
1. Create a new notepad file, the name can be arbitrary, with .reg For the file suffix, for example: delete-svn-folders.reg

2. Copy the following code to delete-svn-folders.reg, save
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN]
@="Delete SVN Folders"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN\command]
@="cmd.exe /c \"TITLE Removing SVN Folders in %1 && COLOR 9A && FOR /r \"%1 \" %%f IN (.svn) DO RD /s /q \"%%f\" \""

3. Double-click delete-svn-folders.reg directly, which is actually imported into the registry

4. In your project Right-click on it, you will find delete svn folders, click to delete all .svn files under the project

5.Remove the information in the registry, open the registry with the regedit command during operation, find [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN], and delete the item.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326399595&siteId=291194637