How to do a Git Pull and Ignore Local Changes?

Learn how to force pull on git overwriting local changes. Use this when pull is not working and you need to refresh the repo.

I struggled to get git pull when the server had newer local changes. So I found something online on how to do a hard pull.

git reset --hard
git pull

This will allow you to pull the repo even if there are changes it will overwrite them.

Full Docs: