-
Notifications
You must be signed in to change notification settings - Fork 1
Guide to Version Control
Chelsea Miya edited this page Jul 12, 2023
·
1 revision
- In GitHub, you can save different versions of a project known as 'version control.'
- The 'Main Branch' is the default version, similar to the trunk of a tree.
- The website is deployed from 'Main Branch.'
- Users can create multiple versions or 'branches' of a project.
- Branching protects the 'Main Branch' from being corrupted.
- Users can edit and save revisions (aka 'commits') in a separate branch before 'merging' those changes into the 'Main Branch.'
- Project contributors are notified of new 'commits.'
- By adjusting permissions, the repository admin can restrict the ability to accept or reject changes to the 'Main Branch.'
- The main page of a repository shows the most recent commits to each file.
- Individual files contain detailed records of revisions.
- View a file's revision history by clicking 'Blame' at the top-left.