cmd delete branch code example
Example 1: git delete local branch
git branch -d test
Example 2: cmd delete branch
git branch -d yourBranch # delete local branch
git push origin --delete yourBranch # delete branch on repo/push change
git branch -d test
git branch -d yourBranch # delete local branch
git push origin --delete yourBranch # delete branch on repo/push change