So, I have a developer who has a bitbucket account, and he updates the code into the bitbucket server and as I have access to the Linux server I pull the files via git pull. Now whenever I do that I get the following error:-
error: Your local changes to the following files would be overwritten by merge: 8.php Please, commit your changes or stash them before you can merge. Aborting
The interesting thing is I don't have any local copy in my system, I just log into the server and pull the code which the developer has updated. Whenever I try to do git -status it does show some unstaged files. How should I solve the issue, and can anyone let me know why is this happening?