简体   繁体   English

如何使用svnX将* .a文件添加到存储库中?

[英]How to add *.a files into repository using svnX?

It seems that svnX silently ignores all *.a files. 似乎svnX默默地忽略所有* .a文件。 But I want to add some libraries into repository, how do I do it with svnX? 但我想在存储库中添加一些库,如何使用svnX?

I found that I had to edit my ~/.subversion/config file. 我发现我必须编辑〜/ .subversion / config文件。

Uncomment the global-ignores line and remove the *.a file type. 取消注释global-ignores行并删除* .a文件类型。 After that .a files started showing up. 之后.a文件开始出现。

If you only add a *.a file occasionally, open Terminal.app and execute command: 如果偶尔只添加*.a文件,请打开Terminal.app并执行命令:

svn add <*.a file path>

If successful, the file will appear in svnX . 如果成功,该文件将出现在svnX

I am not sure about svnX, but in general you might be able to add them manually by naming them explicitly. 我不确定svnX,但一般来说你可以通过明确命名它们来手动添加它们。 This overrides the "ignorance". 这超越了“无知”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM