I cleanup branches interactively with a few lines of bash, which takes a bit more time but is less likely to destroy active work.
samtrack2019 13 hours ago||
gh-poi plugin is a must if you manage a lot of github pr and want to easily clean the branch attached to it when pr is merged https://github.com/seachicken/gh-poi
dietr1ch 16 hours ago||
Wait, why would the update for the silly master->main change be swapping the excluded regex instead of just excluding both?
PunchyHamster 15 hours ago|
coz OP has agenda and
> Since most projects now use main instead of master
some delusions to boot
markus_zhang 15 hours ago||
Oh this is what ChatGPT told me when I asked "How to remove all local branch except main"...
Arch-TK 16 hours ago||
Unfortunately doesn't work if the project you work on squashes everything :(
schiffern 16 hours ago||
"ciaclean" is a nice touch.
I assume CIA stands for Clean It All.
sammyteee 16 hours ago||
"Clean It All, Clean" :P
schiffern 8 hours ago||
At least someone got it, lol. "GNU is Not Unix" et al. ;)
Clean It All Clean also sounds like a 50s detergent slogan, so it's got that going for it.
plufz 16 hours ago||
I assume it means mess up commit history and install ”our” BDFL.
tpoacher 11 hours ago||
grep + xargs ... in other words, we're finally back at good old standard svn workflows
woodpanel 6 hours ago|
I’ve been doing just `git branch -d $(git branch)`, what am I missing?