In my new job I’m developing software with the help of svn. There are certain files I don’t want to be managed by svn: moc files, precompiled binaries, Makefiles, etc. This can be done with the
svn ignore property.
First of all you need to set up svn properly.
svn propset svn:ignore -F .cvsignore .
Next check with
svn stat which files are not currently under version control and which of them you might want to ignore. Next, call the list of ignored files:
svn propedit svn:ignore .
Add the files which you would like to ignore here and close your editor. In my case the list looks like:
*moc.cpp *moc Makefile Makefile.in rc.cpp .libs .deps myapp
As you see the file names don’t have to be the full name but can also contain the Asterisk
One thought on “Short Tip: Ignore files in svn”
Just what I need, thank you!