Skip to content

Instantly share code, notes, and snippets.

@mwbrooks
Created March 29, 2010 20:21
Show Gist options
  • Save mwbrooks/348358 to your computer and use it in GitHub Desktop.
Save mwbrooks/348358 to your computer and use it in GitHub Desktop.
# 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