Categories
General

How to delete a Git branch locally and remotely ?

Steps to delete qa branch

Step 1 – delete locally

git branch -d dev

Step 2 – delete remotely

git push origin origin/dev
git push origin --delete origin/dev

Leave a Reply