How to Delete a Git Branch Both Locally and Remotely

PHOTO EMBED

Wed Nov 10 2021 19:16:55 GMT+0000 (UTC)

Saved by @ali_alaraby

// 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/