DEV Community

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

Collapse
 
phlash profile image
Phil Ashby

Ha, nice :)

For extra coolness, especially when processing files with whitespace, I have trained my muscle memory to use:
find ... -print0 | xargs -0 ...
replacing the whitespace separator with ASCII NUL.