Subversion(SVN)和静态库(.a文件)的兼容性? [英] Subversion (SVN) and static libraries (.a files) compatibility?
问题描述
我无法将.a文件(静态库)添加到我的存储库中。为什么?
I can't add .a files (static libraries) into my repository. Why?
有没有办法强迫SVN接受它们(至少作为静态文件......)?
Is there a way to "force" SVN to accept them (at least as static files...)?
推荐答案
svn:ignore
属性包含某些Subversion操作将忽略的文件模式列表。
The svn:ignore
property contains a list of file patterns which certain Subversion operations will ignore.
你还有一个全局忽略的配置文件。它是以空格分隔的globs列表,用于描述文件和目录的名称
Also do you have a configuration file that global-ignores. It is a list of whitespace-delimited globs which describe the names of files and directories
svn status
, svn add
, svn import
命令也会忽略与列表匹配的文件。
The svn status
, svn add
, and svn import
commands also ignore files that match the list.
要覆盖某个实例,请使用 - no-ignore
命令行标志:
To override for a certain instance, use the --no-ignore
command-line flag:
>>>>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
这篇关于Subversion(SVN)和静态库(.a文件)的兼容性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!