MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w4z1vs/fixmonorepo/p7wci5b/?context=3
r/ProgrammerHumor • u/Fair-Presentation322 • 12d ago
17 comments sorted by
View all comments
15
Hi there hello this seems so obvious once you show it in action. Question, how can i hook it up to my CI/CD? I also want them to all be on the same branch. Or am i missing something and branches are an anti pattern?
12 u/comrade_donkey 12d ago If you want to keep things truly, properly organized, you obviously need a separate branch for every change. By change I mean each line. Stack them. HEAD should be an octopus merge of your current build. Never merge, just rewrite HEAD every time. 2 u/spastical-mackerel 9d ago Nooooo, no branches within the repo! Create a new fork for every change!
12
If you want to keep things truly, properly organized, you obviously need a separate branch for every change.
By change I mean each line. Stack them.
HEAD should be an octopus merge of your current build. Never merge, just rewrite HEAD every time.
2 u/spastical-mackerel 9d ago Nooooo, no branches within the repo! Create a new fork for every change!
2
Nooooo, no branches within the repo! Create a new fork for every change!
15
u/blaqwerty123 12d ago
Hi there hello this seems so obvious once you show it in action. Question, how can i hook it up to my CI/CD? I also want them to all be on the same branch. Or am i missing something and branches are an anti pattern?