How to delete origin and local branch in Git
· 5 min read
Deleting a branch is a bit like taking out the trash: if you only do it in the kitchen (locally), the bin outside (remotely) stays full. To truly clean up your project, you need to perform a two-step operation.
Here is how to safely and effectively wipe a branch from existence both on your machine and on the server.
