Skip to content

Instantly share code, notes, and snippets.

@mwbrooks
Created March 29, 2010 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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