DEV Community

Discussion on: Remove all your local git branches but keep main

Collapse
 
lwhiteley profile image
Layton Whiteley

If you want to delete only branches that have been deleted remotely then git fetch --prune is an option