How do I ignore a directory with SVN?

前端 未结 23 2521
无人共我
无人共我 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:32

    ...and if you want to ignore more than one directory (say build/ temp/ and *.tmp files), you could either do it in two steps (ignoring the first and edit ignore properties (see other answers here) or one could write something like

    svn propset svn:ignore "build
    temp
    *.tmp" .
    

    on the command line.

提交回复
热议问题