1 – go to folder where your files are placed
2 – Edit the properties for the current directory
svn propedit svn:ignore .
3 – Add the files or patterns ex:
Ignores all .conf files on the current directory
*.conf
4 – Save your file (^X if you’re using nano)
5 – Confirm what you did (you can skip this)
You can see your property
svn propget svn:ignore .
You should see an ‘I’ next to the ignored files
svn status --no-ignore
6 – Commit your changes
svn commit -m 'svn ignore'
Now you can ask:
- Ok, but if I want to undo these changes or add some new files or patterns?
I say: Easy!
- If you and to add new files or patterns: Repeat all above steps (1 – 6)
If you want do undo these changes, you need to go to your directory and type:
svn propdel svn:ignore
0 Comments.