Pull overwrite local

suggest change
git fetch
git reset --hard origin/master

Beware: While commits discarded using reset --hard can be recovered using reflog and reset, uncommitted changes are deleted forever.

Change origin and master to the remote and branch you want to forcibly pull to, respectively, if they are named differently.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents