How to delete a Git branch both locally and remotely?

0 votes
asked Nov 21, 2017 by Hitesh Garg (251 points)  

I have to delete a branch both locally and remotely in a Git repository.
I can delete the local branch and also the remote branch from the browser or UI but unable to achieve the same using the git commands.
Please suggest.

Please log in or register to answer this question.

Welcome to Codingeek Q&A, where you can ask questions and receive answers from other members of the community.