How to delete Git branch locally and remotely?

2.56K viewsGit
0

How to delete the Git branch locally and remotely?

Manohar Changed status to publish July 16, 2021
Add a Comment
0

Deletes Local Branch :

git branch -d <branch_name>

Example: git branch -d development_v.1

Deletes Remote Branch :

> git push origin :<branch_name>

Example: git branch -d development_v.2

Mounika Changed status to publish October 27, 2020
Add a Comment
Write your answer.