Git - How to Delete a Git Branch (Local and Remote)

test

// delete branch locally
git branch -d <localBranchName>

// delete branch remotely
git push origin --delete <remoteBranchName>

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

More from Teo Oliver
All posts