Skip to content

Instantly share code, notes, and snippets.

@panta82
Created March 13, 2015 13:02
Show Gist options
  • Save panta82/cb066d96d1cb8bca1199 to your computer and use it in GitHub Desktop.
Save panta82/cb066d96d1cb8bca1199 to your computer and use it in GitHub Desktop.
Git alias: killbranch
killbranch = "!f(){ dialog --keep-tite --yesno \"Are you sure you want to delete branch $1?\" 6 60 && git branch -d \"$1\" && git push origin :\"$1\"; };f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment