Skip to content

Instantly share code, notes, and snippets.

@paulegradie
Created April 3, 2018 01:11
Show Gist options
  • Save paulegradie/0d802dff5020173ed6cee9ebce507f11 to your computer and use it in GitHub Desktop.
Save paulegradie/0d802dff5020173ed6cee9ebce507f11 to your computer and use it in GitHub Desktop.
Force pull - overwrite with content from origin
git fetch --all
git reset --hard origin/{branch_name}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment