• SVN客户端忽略无关文件


    修改前请先备份文件 ~/.subversion/config.

    1,打开Terminal,输入命令:

    $ open ~/.subversion/config
     
    2,在打开的文件中寻找:`global-ignores =`,找到后直接把整行豆替换成如下:
    global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.pyc *.pyo *.rej *~ #*# .#* .*.swp .DS_Store *.xcuserstate *.xcuserdatad *.xcbkptlist *.xcscheme *.xcuserdatad *.xccheckout *.xcscmblueprint

    3,继续寻找`[auto-props]`,找到后,把后面的有效设置替换成如下(可选):
    *.c = svn:eol-style=native
    *.cpp = svn:eol-style=native
    *.h = svn:keywords=Author Date Id Rev URL;svn:eol-style=native
    *.dsp = svn:eol-style=CRLF
    *.dsw = svn:eol-style=CRLF
    *.sh = svn:eol-style=native;svn:executable
    *.txt = svn:eol-style=native;svn:keywords=Author Date Id Rev URL;
    *.png = svn:mime-type=image/png
    *.jpg = svn:mime-type=image/jpeg
    *.xcuserstate = svn:mime-type=text/X-xcode
    *.xcuserdatad = svn:mime-type=text/X-xcode
    *.xcbkptlist = svn:mime-type=text/X-xcode
    *.xcscheme  = svn:mime-type=text/X-xcode
    *.xcuserdatad = svn:mime-type=text/X-xcode
    *.xccheckout = svn:mime-type=text/X-xcode
    *.xcscmblueprint = svn:mime-type=text/X-xcode
    Makefile = svn:eol-style=native

    4, 保存关闭config文件,然后重启SVN工具,然后你就发现,以前的哪些警告修改已经无影无踪了...
     
    ===========================================================================
    sourceTree 配置地址见https://www.jianshu.com/p/e61111f69a8f
    *~

    .DS_Store
    *.xcuserstate
    *.xcworkspace
    xcuserdata
    *.lock
    Pods

  • 相关阅读:
    自定义组件 -- android联系人
    ListView嵌套出现的问题
    编译Speex生成so库文件(android-speex)
    MacOs终端忽略大小写
    Eclipse报错:Setting property 'source' to 'org.eclipse.jst.jee.server:test1' did no
    Eclipse 反编译插件安装jad
    spring默认启动位置以及contextConfigLocation设置源码解析
    git使用2
    Git常用命令
    spring MVC配置详解
  • 原文地址:https://www.cnblogs.com/isItOk/p/5145289.html
Copyright © 2020-2023  润新知