How do I ignore a directory with SVN?

前端 未结 23 2625
无人共我
无人共我 2020-11-22 16:42

I just started using SVN, and I have a cache directory that I don\'t need under source control. How can I ignore the whole directory/folder with SVN?

I am using Vers

23条回答
  •  说谎
    说谎 (楼主)
    2020-11-22 17:09

    The command to ignore multiple entries is a little tricky and requires backslashes.

    svn propset svn:ignore "cache\
    tmp\
    null\
    and_so_on" .
    

    This command will ignore anything named cache, tmp, null, and and_so_on in the current directory.

提交回复
热议问题