Error pulling origin: error: Your local changes to the following files would be overwritten by merge

时间:2014-07-16 11:28:38   收藏:0   阅读:474

在Android Studio使用git进行pull操作中,你会发现会有这么一个错误,这个其实类似于svn中的冲突。那如果解决这个问题呢,如图所示。

先stash changes,隐藏本地的改变,执行完这步后,再进行pull,pull完了一定不要忘记unstash changes,恢复你刚隐藏的改变。

bubuko.com,布布扣

Error pulling origin: error: Your local changes to the following files would be overwritten by merge,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!