Created
March 29, 2010 20:21
-
-
Save mwbrooks/348358 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
# Local Branch | |
# ============ | |
# Create | |
git branch my_feature | |
git checkout -b my_feature | |
# Delete | |
git branch -d my_feature | |
# Remote Branch | |
# ============= | |
# Create | |
git push origin my_feature:refs/heads/my_feature | |
# Delete | |
git push origin :my_feature |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment