How to Delete a Git Branch Both Locally and Remotely

PHOTO EMBED

Thu Apr 28 2022 10:07:14 GMT+0000 (UTC)

Saved by @magtod #bash

// delete branch locally
git branch -d localBranchName

// delete branch remotely
git push origin --delete remoteBranchName
content_copyCOPY

https://www.freecodecamp.org/news/how-to-delete-a-git-branch-both-locally-and-remotely/