pyf*_*unc 10
该svn:ignore属性包含某些Subversion操作将忽略的文件模式列表.
你还有一个全局忽略的配置文件.它是以空格分隔的globs列表,用于描述文件和目录的名称
的svn status,svn add和svn import命令也忽略匹配列表中的文件.
要覆盖某个实例,请使用--no-ignore命令行标志:
>>>>svn help add
usage: add PATH...
Valid options:
--targets ARG : pass contents of file ARG as additional args
-N [--non-recursive] : obsolete; try --depth=files or --depth=immediates
--depth ARG : limit operation by depth ARG ('empty', 'files',
'immediates', or 'infinity')
-q [--quiet] : print nothing, or only summary information
--force : force operation to run
--no-ignore : disregard default and svn:ignore property ignores
--auto-props : enable automatic properties
--no-auto-props : disable automatic properties
Run Code Online (Sandbox Code Playgroud)
确保您的问题是由SVN忽略配置引起的.使用`svn status'将丢失'*.a'文件,而'svn status --no-ignore'将显示前面带有问号的文件.
在主目录中打开Subversion配置文件:
~/.subversion/config
Run Code Online (Sandbox Code Playgroud)
搜索'global-ignores'部分:
global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ #*# .#* .*.swp .DS_Store
Run Code Online (Sandbox Code Playgroud)
从被忽略的文件列表中删除*.a.
| 归档时间: |
|
| 查看次数: |
6333 次 |
| 最近记录: |