Slide 1

Slide 1 text

jgs CSC 308 Software Engineering 1 Lecture 20: Version Control Systems Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.com Building 14 -227 Office Hours: By appointment

Slide 2

Slide 2 text

jgs Previously …

Slide 3

Slide 3 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 3 The Guess Who Game

Slide 4

Slide 4 text

jgs Source Code Repository & Version Control

Slide 5

Slide 5 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 5 Version Control Record changes to a file or set of files over time so that you can recall specific versions later

Slide 6

Slide 6 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 6 Version Control

Slide 7

Slide 7 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 7 Teamwork

Slide 8

Slide 8 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 8 Repository

Slide 9

Slide 9 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 9 Centralized Version Control A single server that contains all the versioned files, and a number of clients that check out files

Slide 10

Slide 10 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 10 Repository

Slide 11

Slide 11 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 11 Distributed Version Control clients don’t just check out the latest snapshot of the files; rather, they fully mirror the repository

Slide 12

Slide 12 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 12 Tool – Version Control System Originally authored by Linus Torvalds in 2005 for the development of the Linux kernel

Slide 13

Slide 13 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 13 Tool – Version Control System GitHub is a Git repository hosting service that provides a web-based graphical interface

Slide 14

Slide 14 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 14 Do Not Forget

Slide 15

Slide 15 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 15 Repository

Slide 16

Slide 16 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 16 Repository ⬆ Push ⬇ Fetch ⬆ Commit ⬇ Update (merge) 📁 📁 📁

Slide 17

Slide 17 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 17 Repository ⬆ Push Workspace (working dir.) Index (Stage) 📁 Fetch ⬇ ⬆ Commit Merge ⬇ Pull ⬇ 📁

Slide 18

Slide 18 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 18 Repository

Slide 19

Slide 19 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 19 Repository main

Slide 20

Slide 20 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 20 Homework

Slide 21

Slide 21 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 21 Homework IntelliJ IDEA. Share a Project on GitHub https://www.youtube.com/watch?v=4ukhZvOmAtk

Slide 22

Slide 22 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 22 Homework Version Control with IntelliJ IDEA https://youtu.be/-S3Q_-b52rA

Slide 23

Slide 23 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 23 Homework Create a GitHub User Share it with Me, I am adding you to a Repository

Slide 24

Slide 24 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 24 Questions

Slide 25

Slide 25 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 25 Office Hours Tuesday and Thursday 3 - 5 pm But an appointment required Sent me an email – [email protected]

Slide 26

Slide 26 text

jgs

Slide 27

Slide 27 text

jgs CSC 308 Software Engineering 1 Lab 20: Astah Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.com Building 14 -227 Office Hours: By appointment

Slide 28

Slide 28 text

jgs We need Tools

Slide 29

Slide 29 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 29 Let’s Work astah.net/downloads/ astah.net/support/astah-pro/user-guide/class-diagrams/

Slide 30

Slide 30 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 30 Java API • Create the following 2 class diagrams using Astah. • Export them as images or PDF • Submit your work in teams of 2 or individually

Slide 31

Slide 31 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 31 My Assignment 01 https://github.com/ javiergs/CSC308/ tree/main/paintApp

Slide 32

Slide 32 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 32 My Assignment 02 https://github.com/ javiergs/CSC308/ tree/main/tspClusteredApp

Slide 33

Slide 33 text

jgs Javier Gonzalez-Sanchez | CSC 308 | Winter 2023 | 33 Questions

Slide 34

Slide 34 text

jgs CSC 308 Software Engineering I Javier Gonzalez-Sanchez, Ph.D. [email protected] Winter 2023 Copyright. These slides can only be used as study material for the class CSC308 at Cal Poly. They cannot be distributed or used for another purpose.