OriginalLess than 1 minute
Forcibly delete the branch (will lose the changes on the branch)
git branch -D <name>
To develop a new feature, it is best to create a new branch;
If you want to discard a branch that has not been merged, you can forcefully delete it with
git branch -D <name>.