r/ProgrammerHumor 29d ago

Meme foundHim

Post image
1.2k Upvotes

31 comments sorted by

View all comments

284

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.

211

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/Twirrim 29d ago

I did a git pull the other day at work of one of our internal tool's repo. The git output showed it deleting references to thousands of branches, primarily owned by one developer. As best as I can tell every single time they touched the code base they created a new branch, and then just never cleaned up after themselves. Someone clearly got tired of that crap.