Skip to content

Instantly share code, notes, and snippets.

@przor3n
Created March 23, 2016 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save przor3n/1bab6ff1235849da8693 to your computer and use it in GitHub Desktop.
Save przor3n/1bab6ff1235849da8693 to your computer and use it in GitHub Desktop.
Git reset local branch to remote
git fetch origin
git reset --hard origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment