Reputation: 4623
I use git for deployment on the live server, I made a commit, pushed to the repo on BitBucket and then made a git pull from the server.
Since then I'm unable to make any "pull" at the live server, I keep getting this message:
error: Your local changes to the following files would be overwritten by merge:
www/js/khalid.js
Please, commit your changes or stash them before you can merge.
although there aren't any local changes that I've made.
I tried git reset --hard
and git checkout file_name
also git stash
and nothing works.
What might be the problem?
Upvotes: 0
Views: 127
Reputation: 52367
You have to run git commit
to complete the merge, since you are in the middle of the merge, I suppose
Upvotes: 1