How to delete Git branch locally and remotely?

2.13K 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
You are viewing 1 out of 1 answers, click here to view all answers.
Write your answer.