Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
tangzs
V2EX  ›  Linux

在ubuntu下创建smbfs共享,在其它系统访问后,git文件状态会被破坏,文件只要被访问,git就认为该文本被更改了,有解吗?

  •  
  •   tangzs · Sep 8, 2013 · 2756 views
    This topic created in 4704 days ago, the information mentioned may be changed or developed.
    1 replies    1970-01-01 08:00:00 +08:00
    wwqgtxx
        1
    wwqgtxx  
       Sep 8, 2013 via Android
    应该是换行符的问题,试试执行以下命令再用git
    git config core.autocrlf false
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   847 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 20:33 · PVG 04:33 · LAX 13:33 · JFK 16:33
    ♥ Do have faith in what you're doing.