Showing posts with label Remote Branches. Show all posts
Showing posts with label Remote Branches. Show all posts

How to Delete a Git Branch Locally and Remotely (Step-by-Step)

Quick answer:

git branch -d branch_name          # delete local branch
git push origin --delete branch_name   # delete remote branch