Pull overwrite local

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

Beware: Commits discarded by reset --hard can be recovered from the reflog. Uncommitted changes are deleted.

This resets whichever branch is checked out. Check out the branch you mean to overwrite before you run it. Change origin and master if that remote or branch has another name.

Feedback about page:

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



Table Of Contents