git delete remote branch but keep local code example
Example 1: git how to delete origin branch
$ git push origin --delete feature/login
Example 2: delete local and remote branch github
git branch -d branch_namegit branch -D branch_name
$ git push origin --delete feature/login
git branch -d branch_namegit branch -D branch_name