SVN 如何提交 SO 库文件

转载:http://blog.csdn.net/hexiaoxiao_love/article/details/10251053

今天提交代码时候发现,svn add 还是 svn st 均查看不到想要提交的 so 文件。

后来才知道原来是配置文件出了问题,把so文件的提交给屏蔽掉了。

修改步骤如下:

1.Ubuntu 系统,点击左上角Place,选择Home Folder,打开home文件夹

2.ctrl+h 显示隐藏文件

3.打开.subversion/config

4.用###注释掉以下语句,保存原始记录,方便以后查看

# global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo
#   *.rej *~ #*# .#* .*.swp .DS_Store

即改为

### global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo
###   *.rej *~ #*# .#* .*.swp .DS_Store

5.在上面注释掉语句下行增加:

global-ignores = .*.swp .DS_Store

6.保存config即可。

7.酱紫,到Terminal里运行svn st,就可以查看到想要提交的so文件了。



参考:http://www.syncrosvnclient.com/forum/topic18.html

Thank you for contacting us. 
The global-ignores option can be set from the users config file (located in the subversion configuration directory) and is applied on the unversioned files and directories. If you use this option to ignore some files the Syncro SVN Client can display or not those files in the working copy view by using the "Show ignored files" option located on the working copy view toolbar. 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值