delete branch from origin and local code example
Example 1: git how to delete origin branch
$ git push origin --delete feature/login
Example 2: Delete a Git Branch In Local And Remotely
git push <remote_name> --delete <branch_name>
$ git push origin --delete feature/login
git push <remote_name> --delete <branch_name>