hiWorld
V2EX  ›  macOS

mac 用 clion git 文件变化异常

  •  1
     
  •   hiWorld · 1 day ago · 720 views
    mac 用 clion 几乎所有的文件 h cpp 文件在 idea 会被识别 git 有变化 但实际上并没有
    9 replies    2026-08-19 11:42:15 +08:00
    lisxour
        1
    lisxour  
       1 day ago
    git status 看下记录了什么变化
    hiWorld
        2
    hiWorld  
    OP
       1 day ago
    @lisxour git status 没有变化 但是 clion 的提交 菜单 里面有一万多个文件 实际都没有改
    hiWorld
        3
    hiWorld  
    OP
       1 day ago
    chendy
        4
    chendy  
       1 day ago
    不会是喜闻乐见的 lf 大战 crlf 把
    hiWorld
        5
    hiWorld  
    OP
       22h 44m ago
    @chendy
    不是
    Scorp
        6
    Scorp  
       21h 58m ago
    也有可能是文件权限问题?
    hiWorld
        7
    hiWorld  
    OP
       20h 32m ago
    @Scorp 不是 其他文件就不会 u g 都一样 ;用其他 jenbrans 的产品也是这样 phpstorm goland 打开都这样 感觉是 mac 跟 jenbrains 哪里有异常
    SimonOne
        8
    SimonOne  
       13h 55m ago
    提到暂存区是不是就没了,sourcetree 也这样,删除整个库的文件(除了.git )再解压后,会全部都是修改,但是提到暂存区就没了。
    hiWorld
        9
    hiWorld  
    OP
       46 mins ago
    @SimonOne 没有用 在 git 里面识别是没有变更的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3528 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 04:28 · PVG 12:28 · LAX 21:28 · JFK 00:28
    ♥ Do have faith in what you're doing.