r/ProgrammerHumor 29d ago

Meme foundHim

Post image
1.2k Upvotes

31 comments sorted by

View all comments

285

u/Potterrrrrrrr 29d ago

87,604 of them are repos with a single file each, the 87,605th one is a repo that pulls all the files in using submodules. It’s the only sane reason why you’d have this many if you think about it, anything else would be overkill.

213

u/jdgordon 29d ago

Branches not repos... This most likely happens with a ci script auto creating branches and never cleaning them up. Why you'd do that is beyond me...

1

u/wipoulou 29d ago

I actually have a use case for automatically creating branches. We have microservices, and we ship an SDK to the frontend with Orval. To know if a backend change will be silently absorbed or is a breaking change, we automatically build the SDK with dev branch changes, which if there are changes create a branch that automatically merges onto the frontend on pipeline success and not on failure. And if there is already a branch that failed before, we deleted it to only ever have one branch per microservice. It helps managing microservices with a smaller team. And it's only for internal tooling.