git delete a branch remotely code example
Example 1: git how to delete origin branch
$ git push origin --delete feature/login
Example 2: delete remote git branch
git push --delete remoteName branchName
Example 3: delete branch
// delete branch locally
git branch -D localBranchName
// delete branch remotely
git push origin --delete remoteBranchName