How do I ignore a directory with SVN?

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

    Set the svn:ignore property of the parent directory:

    svn propset svn:ignore dirname .
    

    If you have multiple things to ignore, separate by newlines in the property value. In that case it's easier to edit the property value using an external editor:

    svn propedit svn:ignore .
    

提交回复
热议问题