git push origin --delete branche code example
Example 1: git how to delete origin branch
$ git push origin --delete feature/login
Example 2: git delete origin branch
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>
$ git push origin --delete feature/login
$ git push -d <remote_name> <branch_name>
$ git branch -d <branch_name>