Skip to content

Instantly share code, notes, and snippets.

@daredrum
Last active August 2, 2016 18:25
Show Gist options
  • Select an option

  • Save daredrum/7b3a0dbaea35463bb2227ac88fd78e30 to your computer and use it in GitHub Desktop.

Select an option

Save daredrum/7b3a0dbaea35463bb2227ac88fd78e30 to your computer and use it in GitHub Desktop.
Git methods

Override local branch from remote

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment