DEV Community

Discussion on: Do you delete Git branches?

Collapse
 
patricnox profile image
PatricNox

Thanks for sharing!! This is exactly what I needed.

--prune
After fetching, remove any remote tracking branches which no longer exist on the remote.