SVN: Ignore some directories recursively

前端 未结 15 1292
粉色の甜心
粉色の甜心 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:53

    svn propset takes --recursive as an option, so you can do this, with two downsides:

    1. you have to check out the entire repository (or at least all directories therein), and
    2. you have to remember to set the svn:ignore property whenever you add a new directory

提交回复
热议问题