5.1 Explain source control concepts.
Source control is the record of every change to code and infrastructure. Combined with review, it is one of the strongest controls against mistakes and malicious changes.
Concepts
- Version management
- Tracking every revision so you can compare, audit and roll back.
- Code review
- Another person reviews changes before they are merged; catches bugs and security flaws.
- Pull request
- A request to merge a branch, where review, discussion and automated checks happen.
- Code push
- Sending local commits to a shared remote repository.
- Code commit
- Recording a set of changes with a message in the local history.
- Code merge
- Combining changes from one branch into another, resolving conflicts.
- Branch management
- Strategies and rules for branches: protected main branch, required reviews, short-lived feature branches.
Check your understanding
Loading quiz…
Original CoreQ Academy material, mapped to objective 5.1 of the publicly available CompTIA Cloud+ CV0-004 exam objectives (Exam objectives V4, document version 5.0). Not affiliated with or endorsed by CompTIA. Contains no exam questions.