Git stash pop with binary - merge conflict

帅比萌擦擦* 提交于 2019-12-22 04:56:08

问题


I'm trying to do a "git stash pop" with a binary file. It results in a merge conflict. I just want to pull what's in the stash off and overwrite what's in the working directory. What is the easiest way to do that?


回答1:


To restore all files to their stashed version:

$ git checkout stash -- .


来源:https://stackoverflow.com/questions/29979038/git-stash-pop-with-binary-merge-conflict

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!