Delete branch locally
git branch -d localBranchNameCode language: Bash (bash)
git branch -d localBranchName
Delete branch remotely
git push origin --delete remoteBranchNameCode language: Bash (bash)
git push origin --delete remoteBranchName
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.
Notify me of follow-up comments by email.
Notify me of new posts by email.