Reaves.dev

v0.1.0

built using

Phoenix v1.7.12

Version Control Systems

Stephen M. Reaves

::

2023-09-04

Notes about Lesson 3 of CS-6300

Summary

Introduction

Version Control System := a system that allows you to manage multiple revisions of the same unit of information.

VCSs can help:

Essential Actions

Example Workflow

BradVCSJanetBradVCSJanetAdd+Commit foo.txtUpdate foo.txtAdd+Commit changes to foo.txtUpdate foo.txt

Dont’s in VCS

Two Main Types

Gu1User 1dbu1->dbu2User 2u2->db
Gu1User 1db1u1->db1u2User 2db2u2->db2db3db1->db3db2->db3db4db2->db4

Intro to Git

Git is a distributed version control system written by Linus Torvalds

Git was initially designed to be:

Git workflow

remotelocalindexworkspaceremotelocalindexworkspaceCreateSend dataRecv dataComparecloneinitaddcommitcommit -apushfetchmergepulldiff <remote> <branch>diff HEADdiff

Git Demo

maindevelopmenttemp