git-branch -d <branch>: delete unused branch.
authorJunio C Hamano <junkio@cox.net>
Wed, 14 Sep 2005 08:43:53 +0000 (01:43 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 15 Sep 2005 19:46:30 +0000 (12:46 -0700)
commitba65af9c1f67461c0dfa6582c911d6a893d80284
treebbaa5ec3c00ef0a51acc6a5c454e2c8159d071b2
parent19397b4521bcc27eb224413fb71519223b94290f
git-branch -d <branch>: delete unused branch.

The new flag '-d' lets you delete a branch.  For safety, it does not
lets you delete the branch you are currently on, nor a branch that
has been fully merged into your current branch.

The credit for the safety check idea goes to Daniel Barkalow.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-branch.sh