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
Thanks for all the contributions above. I would just like to share some additional information from my experiences while ignoring files.
When the folders are already under revision control
After svn import and svn co the files, what we usually do for the first time.
All runtime cache, attachments folders will be under version control. so, before svn ps svn:ignore, we need to delete it from the repository.
With SVN version 1.5 above we can use svn del --keep-local your_folder,
but for an earlier version, my solution is:
.svn hidden folder)When we need more than one folder to be ignored
svn:ignoresvn pe will need to edit the text file, and you can use this command if required to set your text editor using vi:
export SVN_EDITOR=vi
The file looks something simply like this:
runtime
cache
attachments
assets