How to delete Git branch locally and remotely?

769 viewsGit
0

How to delete the Git branch locally and remotely?

Changed status to publish
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

Changed status to publish
Add a Comment
You are viewing 1 out of 1 answers, click here to view all answers.
Write your answer.