I want to have two separate versions of a file: One on github and one on my local machine.
More specifically, how do I ignore a commit coming from the remote server. In this particular case, I modified the file on github, committed it, but I want it to not change on my local machine.
I put the readme file on .gitignore. Changed the file on github.
Made a commit
Fetched the commit on my local machine using VS2017. How do I "ignore" the commit. And keep the two versions separate.