Skip to content

Instantly share code, notes, and snippets.

@thadeu
Created September 22, 2016 18:59
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 thadeu/024b2d17f013984ca7c91d4e0165f108 to your computer and use it in GitHub Desktop.
Save thadeu/024b2d17f013984ca7c91d4e0165f108 to your computer and use it in GitHub Desktop.
Resetting branch to last commit
# Sincronizar o branch com o servidor
git fetch
# Resetar e ficar com o último commit do servidor no branch
git reset --hard origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment