delet remote git branch code example
Example 1: delete remote git branch
git push --delete remoteName branchName
Example 2: delete branch git
// delete branch locally
git branch -D localBranchName
// delete branch remotely
git push
git push --delete remoteName branchName
// delete branch locally
git branch -D localBranchName
// delete branch remotely
git push