SVN: Ignore some directories recursively

前端 未结 15 1321
粉色の甜心
粉色の甜心 2021-01-30 11:55

I don\'t want any directory named build or dist to go into my SVN no matter how deep in the tree it is.

Is this possible? In git I just put

15条回答
  •  感情败类
    2021-01-30 12:50

    In order to ignore all such files in all repositories, you could add a global-ignores to your per-user configuration file.

    On Unix-like systems, this area appears as a directory named .subversion in the user's home directory. On Win32 systems, Subversion creates a folder named Subversion, typically inside the Application Data area of the user's profile directory

    See Configuration Options

    Unfortunately, there's no per-repository option to do this. It's basically per-user, or per-directory, so the multiple svn:ignores is probably the way to go, as annoying as it can be.

提交回复
热议问题