Skip to content

Instantly share code, notes, and snippets.

@michaellouieloria
Last active August 29, 2015 14:15
Show Gist options
  • Save michaellouieloria/dcbda251208d98779338 to your computer and use it in GitHub Desktop.
Save michaellouieloria/dcbda251208d98779338 to your computer and use it in GitHub Desktop.
Git - overwrite local changes from remote
git fetch origin
git checkout develop
git reset --hard origin/develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment