I'm new to Git, so let me know if there is a better way to do this...
So I forked a project on github that I am making changes to work the way that I want it to. One of the changes I made was to remove a file. So I removed the file with git rm filename
. Now I want to pull the latest changes from the original repo that I forked, so I did git pull original-remote-repo master
. But it gave a message saying there was a conflict with the file that I deleted (since it's deleted in my repo, but changes were made to it in the "original-remote-repo"). I don't care about any changes to this file since I deleted it.
Is there something I need to do in order to merge these without recreating the file (since I would have to delete it again anyway)? Or is there a better workflow that I should be adopting?