Created
June 23, 2016 22:37
-
-
Save ifnull/2ea1cc53649b70c8a64ca364fb70b265 to your computer and use it in GitHub Desktop.
Git refresh develop from master
This file contains hidden or 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
# Delete your local develop | |
git checkout master | |
git branch -D develop | |
# Recreate your local develop, based on origin's master | |
git pull origin master | |
git checkout -b develop | |
# Push and overwrite the sloppy develop on the origin | |
git push origin develop --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment