The easiest way to delete the .svn folder under Windows

When using the SVN tool, some files with the suffix "svn" are generated, and there are many files in each folder.

If you want to delete the .svn folder under Windows, the channel of manual deletion is the most troublesome, because there are such files under each folder. The following is a good way:
create a text file named killsvns.reg (the extension is changed from txt to reg), and the content is as follows:

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

After saving, double-click the reg file. After success, right-click on each folder will have a "Delete SVN Folders" option, after clicking, you can delete all the .svn files below this file: 



 

Guess you like

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