Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 518 Bytes

BRANCH_DELETE.md

File metadata and controls

24 lines (15 loc) · 518 Bytes

Home

Delete a Branch

Tip: Remember that curly braces in commands below should not be typed by you. They indicate that you should place your own value there without curly braces.

Delete Local Branch

git branch -d {branch name}

Delete a Remote Branch

Note the colon : below in the command. That must be there.

git push origin :{branch name}

Related Guides