Skip to content

Instantly share code, notes, and snippets.

@Tyrael
Created March 10, 2014 09:22
Show Gist options
  • Save Tyrael/9461895 to your computer and use it in GitHub Desktop.
Save Tyrael/9461895 to your computer and use it in GitHub Desktop.
git reset to remote tracking branch
git reset --hard `git rev-parse --abbrev-ref @{upstream}`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment