V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
ballshapesdsd
V2EX  ›  问与答

出现了! git 灵异现象!

  •  
  •   ballshapesdsd · Jan 24, 2019 · 708 views
    This topic created in 2660 days ago, the information mentioned may be changed or developed.

    linux 系统,git clone,修改一个配置文件,发现修改错了,git checkout ., 重新修改

    运行代码,报错

    发现另外有一个文件不是最新版本,而是 2 年前的版本,而且好像和其他代码不一致,导致报错

    git pull

    恢复正常

    此时再进行 git checkout .

    无任何反应,修改的文件没有撤销

    请问发生了什么?

    git checkout .在干嘛?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1147 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 341ms · UTC 17:55 · PVG 01:55 · LAX 10:55 · JFK 13:55
    ♥ Do have faith in what you're doing.