SVN ignore a single file

And another thing that I need to do so rarely that I have to look it up every single time: How do you SVN ignore a single file? The obvious thing to do would be:

# cd config
# svn propset svn:ignore settings.php

.. but that just doesn’t work. The trick is to cd .. back to the parent directory and do:

# svn propset svn:ignore "settings.php" config/

Leave a comment

Your email address will not be published. Required fields are marked *