Skip to content

Instantly share code, notes, and snippets.

@rumverse
Created August 23, 2017 17:06
Show Gist options
  • Save rumverse/6d0be11500ea72c6cc82e9b83daebb93 to your computer and use it in GitHub Desktop.
Save rumverse/6d0be11500ea72c6cc82e9b83daebb93 to your computer and use it in GitHub Desktop.
RESET current branch with remote branch
git fetch origin
git reset --hard origin/<branch name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment