rm branch in git code example
Example 1: git how to delete origin branch
$ git push origin --delete feature/login
Example 2: delete branch git
// delete branch locally
git branch -D localBranchName
// delete branch remotely
git push
$ git push origin --delete feature/login
// delete branch locally
git branch -D localBranchName
// delete branch remotely
git push