Skip to content

Commit

Permalink
git-nuke
Browse files Browse the repository at this point in the history
  • Loading branch information
holman committed Aug 27, 2013
1 parent c0e52f5 commit 8645e31
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions bin/git-nuke
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh
#
# Nukes a branch locally and on the origin remote.
#
# $1 - Branch name.
#
# Examples
#
# git nuke add-git-nuke

git branch -D $1
git push origin :$1

0 comments on commit 8645e31

Please sign in to comment.