delete branch
To delete a local branch
1
# To delete local branch (which is not there in server)
2
​
3
$ git branch -d <branchname>
Copied!
To delete a remote branch
1
# To Delete Remote branch
2
​
3
$ git push -d <remote_name> <branchname>
4
$ git push -d origin <branchname>
Copied!
Copy link