Git would not override a file locally

Today git would not override a file locally, so if you’ve ever ran into a problem where you need code of a certain file from the server, and you’ve already tried pulling but nothing is changing in said file, well here’s a quick trick to get that to happen. Use “git reset –hard ” like in the image below:
Git would not override a file locally

After that, you should have your file updated.