SVN: Ignore some directories recursively

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

    cd parent_dir #the directory containing folder to be ignored recursively
    svn propedit svn:ignore . #will open up svn-prop.tmp
    enlist folder(s)
    ^X
    Y
    commit -m 'ignore targeted direcoty'
    

提交回复
热议问题