Today, I want to repeat some of the openSource codeBut it is a folder with the. SVN directory, so you want to restore the normal folder without SVN information.
Find such a script from Aw's blog, which references a registry script of Jon Galloway.
The method is as follows:
Create a text file named kill-svn-folders.reg (extension changed from TXT to Reg) with the following content:
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 the file, double-click the reg file. After successful, right-click on each folder and there will be a "delete SVN Folders" option. After clicking it, You can delete all. SVN files under this file.
What should I do in Linux? There are methods to display the results from Google,
Linux is as follows (from http://tech.techweb.com.cn/redirect.php? FID = 26 & tid = 205673 & goto = nextnewset)
When the SVN version control system is used, each directory will have one. SVN directory exists. After development, you usually need to delete these directories when delivering products or uploading them to the server. In fact, it is very easy to delete these directories in Linux. The command is as follows:
Find.-Type D-Name". SVN"|Xargs RM-RF&Y:]*P1 L. S5 ^$P
References
From aw)
Delete all. SVN Directories