【发布时间】:2017-02-28 18:51:25
【问题描述】:
我已经完成了从本地到服务器git push 的操作。不幸的是,在我对服务器文件进行了一些更改之后,在拉之前。
所以它不允许我拉。
root@magento-dev-1:/var/www/html/magento# git pull
Updating 4d1729d..6e1c543
error: Your local changes to the following files would be overwritten by merge:
magento/app/code/Custome/Module/Ui/Component/Listing/Column/Actions.php
magento/app/code/Custome/Module/view/adminhtml/ui_component/posts_index.xml
magento/app/code/Custome/Module/view/frontend/templates/etrade/form.phtml
Please, commit your changes or stash them before you can merge.
Aborting
如何解决这个问题?
【问题讨论】:
-
阅读消息 > 请在合并之前提交您的更改或存储它们。
-
怎么做?
-
运行
git stash或git commit