delete branch
To delete a local branch
# To delete local branch (which is not there in server)
$ git branch -d <branchname>
To delete a remote branch
# To Delete Remote branch
$ git push -d <remote_name> <branchname>
$ git push -d origin <branchname>
https://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-locally-and-remotely
Last updated
Was this helpful?