How to ignore folder without removing it from my repository

前端 未结 3 834
自闭症患者
自闭症患者 2021-02-06 01:26

I have this tmp/ and cache/ directories, that keep generating files that don\'t need to be commited.

How can I set it so svn ignores them, but doesn\'t delete them or r

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-06 01:43

    You can add a svn property to the parent folder: svn:ignore.

    If you use tortoise: Right click -> Properties -> SVN -> Properties... -> (add or edit)

    In the console: svn propset svn:ignore [path/file(s)]

提交回复
热议问题