Delete a Git Branch

Delete branch locally

git branch -d localBranchName
Code language: Bash (bash)

Delete branch remotely

git push origin --delete remoteBranchName
Code language: Bash (bash)

Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *