Skip to content

Instantly share code, notes, and snippets.

@leviathan
Created October 18, 2017 13:01
Show Gist options
  • Save leviathan/df236b4dd2eb42ad967874320d7c62c0 to your computer and use it in GitHub Desktop.
Save leviathan/df236b4dd2eb42ad967874320d7c62c0 to your computer and use it in GitHub Desktop.
Force reset git branch
git checkout develop
git pull origin develop
git checkout stage
git reset --hard develop
git push origin stage --force-with-lease
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment