Github Workflows

Step-by-step guides for beginners to collaborate with Github

View on GitHub

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}