From 258e441aecb311c6dce3330f5bf578cf10b134bb Mon Sep 17 00:00:00 2001
From: Junio C Hamano
With a -d or -D option, <branchname> will be deleted. You may specify more than one branch for deletion. If the branch currently -has a reflog then the reflog will also be deleted. Use -r together with -d -to delete remote-tracking branches.
+has a reflog then the reflog will also be deleted. +Use -r together with -d to delete remote-tracking branches. Note, that it +only makes sense to delete remote-tracking branches if they no longer exist +in remote repository or if git-fetch(1) was configured not to fetch +them again. See also prune subcommand of git-remote(1) for way to +clean up all obsolete remote-tracking branches.
- Delete a branch. The branch must be fully merged. + Delete a branch. The branch must be fully merged in HEAD.
- Delete a branch irrespective of its index status. + Delete a branch irrespective of its merged status.
-Delete remote-tracking branches "todo", "html", "man" +Delete remote-tracking branches "todo", "html", "man". Next fetch or +pull will create them again unless you configure them not to. See +git-fetch(1).
-Delete "test" branch even if the "master" branch does not have all -commits from test branch. +Delete "test" branch even if the "master" branch (or whichever branch is +currently checked out) does not have all commits from test branch.