Delete a remote git branch using CLI
For our day to day work it is good we can delete the branch form local and remote repositories by using cli.
For this purpose git has very simple commands to use and those are:
git branch -D branch_name
git branch push origin :branch_name
For a working illustration of above commands please refer :