Skip to content

Instantly share code, notes, and snippets.

@cpswsg
Created June 6, 2015 06:38
Show Gist options
  • Save cpswsg/a743296a5cc84af21f26 to your computer and use it in GitHub Desktop.
Save cpswsg/a743296a5cc84af21f26 to your computer and use it in GitHub Desktop.
Reseta e sincroniza repositório com o original remoto.
git remote add upstream <url-do-repositorio-original>
git fetch upstream
git checkout master
git reset --hard upstream/master
git push origin master --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment