Skip to content

Instantly share code, notes, and snippets.

@gautamk
Created March 11, 2012 11:35
Show Gist options
  • Save gautamk/2016111 to your computer and use it in GitHub Desktop.
Save gautamk/2016111 to your computer and use it in GitHub Desktop.
Delete local and remote branches
############ GIT ################
# Delete local branch
git branch -D <branch-name>
# Delete remote branch
git push origin :<branch-name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment