← Back to context

Comment by mrkeen

2 days ago

Just like Git. Why bother with all these branches, commits and merges?

Just make it so everyone's revision steps forward in perfect lockstep.

Branches, commits and merges are the means how people manually resolve conflicts so that a single repository can be used to see a state where revision steps forward in perfect lockstep.

In many branching strategies this consistent state is called "main". There are alternative branching stragies as well. For example the consistent state could be a release branch.

Obviously that does not guarantee ordering across repos, hence the popularity of "monorepo".

Different situations require different solutions.