Today, I came to knew about how to delete Git unsed branches from our local and remote repo.
Here are few commands that i used
- git branch -to see what all branches we have
- git push origin –delete my_branch – to delete branch from remote
- git branch – if you can see still your branch in local
- git branch – D my_branch – Delete my branch locally too
Refer URL : https://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-both-locally-and-remotely