Created
October 18, 2017 13:01
-
-
Save leviathan/df236b4dd2eb42ad967874320d7c62c0 to your computer and use it in GitHub Desktop.
Force reset git branch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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