![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Idea
wangooo
这个作者很懒,什么都没留下…
展开
-
Your local changes would be overwritten by merge. Commit, stash or revert them to proceed
1、储存我的修改的内容2、将修改的内容 储存到 stash后,现在代码就是修改之前的了3、pull代码。4、取出之前暂存到 stash 的修改。如果有冲突,还需要merge5、合并代码,push。①如果你想保留刚自己写的没有提交push的本地修改的代码,并把git服务器上的代码pull到本地(本地刚才修改的代码将会被暂时封存起来):git stashgit pull origin mastergit stash pop②如果你想完全地覆盖本地的代...原创 2021-03-12 15:27:56 · 678 阅读 · 0 评论 -
Idea git local changes were not restore
转:https://blog.csdn.net/wgy1160754366/article/details/69547491https://www.oschina.net/question/948439_2231748https://www.jianshu.com/p/dbcf28202d15?from=timelinehttps://www.jetbrains.com/help/idea/2016.2/shelving-changes.html要提交代码,先更新代码(Update proj转载 2021-03-11 14:52:06 · 9576 阅读 · 1 评论