# deleting a local branch $ git branch -d <branch_name> $ git branch -D <branch_name> # forced # deleting a remote branch $ git push <remote_name> --delete <branch_name>