Created
February 18, 2014 17:53
-
-
Save mikermcneil/9076059 to your computer and use it in GitHub Desktop.
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
# So there's stuff on the `v0.10` branch you want to show up on `master`. | |
# First, get everything up to date locally: | |
git checkout master | |
git pull origin master | |
git checkout v0.10 | |
git pull origin v0.10 | |
# Then merge v0.10 **into** master | |
git checkout master | |
git merge v0.10 | |
# If there are merge conflicts, freak out AHHH | |
# if you're unsure at all, ask for help (it's easy to mess things up-- not irreversibly, but it can suck) | |
# if you had to resolve anything, commit your changes. | |
# When everything is cool | |
git push origin master | |
# If you want to delete the other branch locally: | |
git branch -d v0.10 | |
# (it'll prevent you from doing this if there are unmerged changes) | |
# If you want to delete the other branch on the remote: (CAREFUL) | |
git push origin :v0.10 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment