deleting everything on branch using local repository code example
Example 1: git how to delete origin branch
$ git push origin --delete feature/login
Example 2: delete local branch git
git branch -d <branch_name>
$ git push origin --delete feature/login
git branch -d <branch_name>