I am git as my control version for my code repository. As I am using multiple computer desktop and laptop.Each time when I try to pull the branch with new changes git give the following message.
error: Your local changes to the following files would be overwritten by merge:
..../index.php
Please, commit your changes or stash them before you can merge.
Aborting
I do not want to stash the file . So I am deleting the file and doing git pull
Any other method is much appreciated.