Understanding SCM
Source control (or version control) is a software practice used to track and manage changes in source code. This is an extremely important practice because it permits to maintain a single source of code across different developers and helps with collaborating on a single software project (where different developers works on the same code base).
SCM is an essential practice in any DevOps process. To adopt a source control policy, you should do the following:
- Select a source control management system to adopt (for example, install Git on a server or use a cloud-based SCM such as Azure DevOps Repos or GitHub)
- Store your code base in a repository managed by your source control management system
- Clone the repository locally for development by taking the latest code version (pull) stored in the central repository
- Commit and push your released code to the central repository
- Use different copies of the repository for developing in a parallel way...