I have two servers for development and production. In the development server I have a new branch merged with origin. Now I want to go to production and pull the changes. But in production server in branch master I have modified two files which is needed only for this server.
So when I hit:
git pull
I get:
error: Your local changes to the following files would be overwritten by merge:
app/code/local/NextBits/DependentCustomOptionsImage/Block/Adminhtml/Template/Edit/Tab/Options/Option.php
app/design/adminhtml/default/default/layout/dependentcustomoptionsimage.xml
Please, commit your changes or stash them before you can merge
These are the two files I need.
How can I pull the origin and without overwriting these files?
Or how can I keep these files, pull the changes and revert them back?