How to Delete a Git Branch in Local and Remote
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