git stash pop 之后如果出现 conflict

2015 年 5 月 23 日
 yyw
git stash pop 之后如果出现 conflict,有没有办法回到这次 git stash pop 之前的时候。
10073 次点击
所在节点    程序员
4 条回复
jasonslyvia
2015 年 5 月 24 日
git reset --hard
YuJianrong
2015 年 5 月 24 日
上面这样本地之前的修改会lost吧……
基本就是不可能啦……
xi_lin
2015 年 5 月 24 日
unstage 的文件肯定不行了吧
standin000
2016 年 12 月 20 日
@YuJianrong git stash pop 如果碰到 conflict ,不会被 drop 掉,修改还在。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/193280

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX