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/

This entry was posted in IT. Bookmark the permalink.

Leave a Reply

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