git pull problem solving steps.
shpeacelover
posted @ 2014年5月08日 20:23
in Git
, 431 阅读
在git pull的時候遇到下面的問題:
error: Your local changes to the following files would be overwritten by merge:
init.el
Please, commit your changes or stash them before you can merge.
在網上搜索了下, 發現下面的步驟可以把問題解決掉, 雖然我不知道爲什麼:
git checkout HEAD init.el
git pull
blog comments powered by Disqus