Tortoise SVN hidden _svn folders

后端 未结 9 1260
半阙折子戏
半阙折子戏 2021-02-05 15:51

They are specially annoying when I need to upload to the server a web solution.

Is there a way of configuring SVN to create the _svn folders outside my working directory

9条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-05 16:30

    If you want to delete all sub folders named .svn in windows then create batch file with this content:

    for /f "tokens=* delims=" %%i in ('dir /s /b /a:d *.svn') do (
    rd /s /q "%%i"
    )
    

    save it in a file del_All_Dot_SVN_Folders.cmd . Run it. Your done.

    Thanks to http://www.axelscript.com/2008/03/11/delete-all-svn-files-in-windows/

    Remember the above code has .svn whereas the code in the link has only *svn so its better to have the .svn to not accidentally have undesired effect.

提交回复
热议问题