How to make subversion ignore obj files?

November 4th, 2009 | by | technology

Nov
04

When you run the subversion status command, it will show lot of files that you don’t intend to check-in in the repository, like the temporary object files. You can tell subversion to ignore all such files in a particular directory.

svn propset svn:ignore *.o.d DebugUnicode
svn st

This will tell subversion to ignore all the *.o.d files in the DebugUnicode directory.

You can also create a file, say ignore.txt and add all the files or directories to be ignored, one in each line and pass that file to the subversion using the -F command line option

svn propset svn:ignore -F ignore.txt DebugUnicode

No Comments »