How to Overwrite Local Files with Git Pull.
If you feel the need to discard all your local changes and just reset/overwrite everything with a copy from the remote branch, then you should follow this guide. Important: If you have any local changes, they will be lost. With or without –hard option, any local commits that haven’t been pushed will be lost. If…
