1

I have done from my local to server git push. Unfortunately before pull after i have made some changes on Server Files.

So it's not allowing me to Pull.

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 

How to solve this issue?

3
  • 1
    read the message > Please, commit your changes or stash them before you can merge. Commented Oct 19, 2016 at 8:37
  • How to do that? Commented Oct 19, 2016 at 8:38
  • run git stash or git commit Commented Oct 19, 2016 at 8:38

1 Answer 1

2

You have to commit your changes first or stash them.

git stash 

This will put your modified changes aside and make your working directory clean. Later, after pull, you can reapply those changes with

git stash pop 

This is what Git suggests you to do.

Please, commit your changes or stash them before you can merge.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.