db

branching

Delete a local branch. Use with caution as this permanently deletes the branch, even if it hasn't been merged.

Usage: git db unwanted-branch

CLI Command

git config --global alias.db "branch -D"

.gitconfig Snippet

[alias]
  db = branch -D