Delete GitHub Branch in Terminal on Mac - VicPhanDevOps/mac GitHub Wiki

• The following solution is for deleting a GitHub branch in the Terminal.
image

• Type git push origin -d < GitHub branch > and press the return key to delete the desired GitHub branch.
image

• Return to GitHub, refresh the browser and you’ll see the desired branch has been deleted.
image

⚠️ **GitHub.com Fallback** ⚠️