Git · Senior · Question 57 of 76

What is the trade-off of a monorepo with Git compared with many repositories?

Explanation

One commit can change a library and its users together. In exchange you need sparse checkout, partial clones, path-based CI and CODEOWNERS as the repository grows.

Further reading

Problem with a question

Git · Senior · question 57

Test yourself

Take the Git · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz