V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
yyw
V2EX  ›  程序员

git stash pop 之后如果出现 conflict

  •  
  •   yyw ·
    yanyiwu · 2015-05-23 23:15:29 +08:00 · 9270 次点击
    这是一个创建于 3270 天前的主题,其中的信息可能已经有所发展或是发生改变。
    git stash pop 之后如果出现 conflict,有没有办法回到这次 git stash pop 之前的时候。
    4 条回复    2016-12-20 15:32:37 +08:00
    jasonslyvia
        1
    jasonslyvia  
       2015-05-24 01:55:30 +08:00
    git reset --hard
    YuJianrong
        2
    YuJianrong  
       2015-05-24 10:51:27 +08:00 via iPhone
    上面这样本地之前的修改会lost吧……
    基本就是不可能啦……
    xi_lin
        3
    xi_lin  
       2015-05-24 11:45:22 +08:00 via iPhone
    unstage 的文件肯定不行了吧
    standin000
        4
    standin000  
       2016-12-20 15:32:37 +08:00
    @YuJianrong git stash pop 如果碰到 conflict ,不会被 drop 掉,修改还在。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1093 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 17:56 · PVG 01:56 · LAX 10:56 · JFK 13:56
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.