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/


You'll only receive email when Teo Oliver publishes a new post

More fromĀ Teo Oliver