How do I ignore a directory with SVN?

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

    Important to mention:

    On the commandline you can't use

    svn add *
    

    This will also add the ignored files, because the command line expands * and therefore svn add believes that you want all files to be added. Therefore use this instead:

    svn add --force .
    

提交回复
热议问题