Understanding the post-commit phase of DevOps
After committing code changes locally, the developer’s next step is to synchronize these changes with the central remote repository, as indicated in Figure 5.1 (4). This is achieved through the git push
operation. The central repository serves as the collective storage for code contributed by all developers working on a project:
Figure 5.1 – The code development phase of DevOps
The central repository can be hosted on a source control platform that is either self-hosted or cloud-hosted. According to the 2022 Stack Overflow Developer Survey, GitHub leads as the most favored source control platform for both personal and professional projects. Other platforms such as GitLab, Bitbucket, and Azure Repos are more common in professional environments (Figure 5.2). In Chapter 1, we provided an overview of Microsoft’s two DevOps platforms: GitHub and Azure DevOps. Both platforms offer source control...