Recently, I checked out a copy of a project, There were multiple source files and a manual makefile based build system.
I did this
svn status
No output // meaning . is a working copy
make
// created a lot of *.o files
svn status
No change
How come this is possible? This clearly suggests there be some wildcard way to customize the files under version control? How can I do th开发者_开发问答at?s
- That files are ignored using svn propset svn:ignore. See documentation: http://svnbook.red-bean.com/en/1.1/ch07s02.html
- Subversion has
global-ignores
setting in configuration file, as mentioned above. By default svn ignores the following types:
*.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store.
The file ~/.subversion/config contains a list of file names and extensions to ignore in the "global-ignores" setting; *.o is one of those.
精彩评论