svnbuildsvnignore

SVN: Keep Folder; Ignore Content


Folks,

How can I permanently ignore the content of a folder with SVN? I have a "build" folder, but as I add new source libraries, etc., new content gets created, the I have to manually go and add to ignore list. In git is easy to do, but I can't find a way to automate it on SVN


Solution

  • Use the svn:ignore property to ignore the build folder entirely. Execute this command in the same folder that the "build" folder is in:

    svn propset svn:ignore build .
    

    Then commit the change.