a blog for those who code

Sunday, 22 June 2014

Delete git branch

If for any reason you want to delete a git branch, you can easily do it using below mentioned commands.
Suppose you want to delete your local git branch, you have to execute the following command-

git branch -d <your_branch_name>

You can also delete a a remote branch, for that you have to execute the following command

git push origin --delete <your_branch_name>

Please Like and Share the Blog, if you find it interesting and helpful.

No comments:

Post a Comment

Contact Us

Name

Email *

Message *

Sponsers

Best Hosting Plans

CC License