.svnignore — .cvsignore for subversion
If you’ve ever seriously used CVS, you know about .cvsignore files. They contain a list of files which should be ignored by the version control system. For example, you don’t really want or need to store object code (’*.o’ files) in your repository. Subversion supports ignore files too.
First, create a file which contains a list of files you want to ignore. In this example, we’ll call it .svnignore, but really it could be called anything. Then, just add it to the subversion repository and set the correct properties for the directory. Commit and enjoy!
$ echo "foo.o" > .svnignore
$ svn add .svnignore
$ svn propset svn:ignore -F .svnignore .
$ svn commit -m "Added an ignore file for bar/"
by
vreesh
2007-05-22 05:56
svn
·
osx
·
mac
·
svnignore
http://mediumbagel.org/nucleus/2007/02/06/svnignore-cvsignore-for-subversion/
-
cached
-
mail it
-
history