windows下 svn刪除與版本庫的聯系
阿新 • • 發佈:2017-10-14
項目 edi tle folder sse delete com nbsp 5.0
[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\" \
如果不想要右鍵出現 Delete SVN Folders 打開註冊表(windows+R 輸入regedit) 將[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN]刪除即可。
當項目和版本庫有聯系時每個目錄下都會有.svn批量刪除時可將下列代碼復制
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\" \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\" \
保存到記事本中將文件後綴改為.reg 雙擊會將文件導入註冊表。右鍵點擊會出現 Delete SVN Folders 即可批量刪除.svn文件
如果不想要右鍵出現 Delete SVN Folders 打開註冊表(windows+R 輸入regedit) 將[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN]刪除即可。
windows下 svn刪除與版本庫的聯系