Git delete remote branch

Command to delte a remote branch, given your branch has a name of “mybranch”:

git push origin -d mybranch

If you have a protected main branch, you will get an error message. In that case:

git push origin -d nt/appbar-shareholder-link-bug — no-verify

--

--