Upgrade to Pro — share decks privately, control downloads, hide ads and more …

(2024-2025) CHI Grad Fellowship - Version Control

(2024-2025) CHI Grad Fellowship - Version Control

Ethan Watrall

October 24, 2024
Tweet

More Decks by Ethan Watrall

Other Decks in Education

Transcript

  1. Version control is a system that records changes to a

    fi le or set of fi les over time so that you can recall speci fi c versions later. VERSION/SOURCE CONTROL
  2. The project. Collection of fi les that comprise the project.

    Resides in a central (and accessible) location (the repository) A REPOSITORY
  3. duplication of an object under revision control (such as a

    source code fi le, or a document) so that modi fi cations can happen in parallel along both branches. In GitHub main branch is always now called main A BRANCH
  4. when developers take a copy of source code from one

    software package and start independent development on it, creating a distinct piece of software. FORKING
  5. Copying all of the fi les from a repository to

    your local machine (for editing, etc) CLONING
  6. submitting the latest changes of the source code to the

    repository, and making these changes part of the repository (any branch) COMMITTING
  7. A request by the person who forked the repository to

    roll any changes they made back into the main (original) repository. PULL REQUEST
  8. DO WORK LOCALLY USING GITHUB DESKTOP w ➋ CLONE REPOSITORY

    CREATE A REPOSITORY ➊ ADD COLLABORATORS x COLLABORATORS CLONE REPOSITORY y COLLABORATORS WORK LOCALLY USING GITHUB DESKTOP z
  9. FETCH ORIGIN WHEN YOU START WORKING w ➋ COMMIT WHEN

    YOU STOP WORKING WRITE A GOOD COMMIT MESSAGE ➊ WORK LOCALLY x ALWAYS NEVER EDIT ON THE WEB IN COLLABORATIVE PROJECT y