Scaling Git for enterprise DevOps
Git is one of the most essential version control systems that is adopted by development teams and companies. Git is a distributed version control system, which means the local copy of the source code that's stored on each machine represents a complete version control repository.
In this section, we will learn more about Git and how to structure repositories, manage branches, and collaborate with pull requests.
Structuring Git repos
There are two types of repositories that we can use with Git:
- Mono-repo: More than one project is stored in a single repository
- Multi-repo: Each project has its own repository
Mono versus multi; what's the right approach? There is no direct answer that would recommend a particular approach. The strategy that we choose to use in order to structure our repositories is totally based on our way of managing projects; both types have their advantages and disadvantages. However, it is good...