DEV Community

Discussion on: Invest in building custom tools

Collapse
 
kenbellows profile image
Ken Bellows

Ha, I was more referring to my teammates, but I can share some of it. The bit involving checking branches against our ticketing system (aka the interesting part) is very tailored and wouldn't be useful outside of my office, but the bit that actually deleted the branches is just a little git + xargs:

cat branches_to_delete | xargs -L1 git push origin --delete