开发者

customizing what files to keep under version control ? [svn]

开发者 https://www.devze.com 2022-12-23 22:54 出处:网络
Recently, I checked out a copy of a project, There were multiple source files and a manual makefile based build system.

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


  1. That files are ignored using svn propset svn:ignore. See documentation: http://svnbook.red-bean.com/en/1.1/ch07s02.html
  2. 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消