Which command deletes the branch anyway, discarding its unmerged commits?
$ git branch -d tmp error: the branch 'tmp' is not fully merged
git branch -D tmpgit branch -m tmpgit branch -u tmpgit branch -c tmp
-D is --delete --force, which skips the merged check. -m renames, -u sets an upstream and -c copies a branch.