Version Control with Git

Slides:



Advertisements
Similar presentations
G51FSE Version Control Naisan Benatar. Lecture 5 - Version Control 2 On today’s menu... The problems with lots of code and lots of people Version control.
Advertisements

Version Control with git. Version Control Version control is a system that records changes to a file or set of files over time so that you can recall.
Introduction to Git and Github Joshua imtraum.com.
Git for Version Control These slides are heavily based on slides created by Ruth Anderson for CSE 390a. Thanks, Ruth! images taken from
Version control Using Git 1Version control, using Git.
Source Control Repositories for Team Collaboration: SVN, TFS, Git Svetlin Nakov Telerik Software Academy academy.telerik.com Manager Technical Training.
Source Control Repositories for Team Collaboration: SVN, TFS, Git.
With Mercurial and Progress.   Introduction  What is version control ?  Why use version control ?  Centralised vs. Distributed  Why Mercurial ?
Source Control Systems SVN, Git, GitHub SoftUni Team Technical Trainers Software University
Git – versioning and managing your software L. Grewe.
Version control Using Git Version control, using Git1.
Git (Get) it done right! Practical Applied Version Control for Drupal site developers Peter Chen - Stanford School of Engineering Technical Webmaster.
Source Control Primer Patrick Cozzi University of Pennsylvania CIS Spring 2012.
Version Control. How do you share code? Discussion.
Version Control Systems academy.zariba.com 1. Lecture Content 1.What is Software Configuration Management? 2.Version Control Systems (VCS) 3.Basic Git.
Information Systems and Network Engineering Laboratory II DR. KEN COSH WEEK 1.
Version Control Systems. Version Control Manage changes to software code – Preserve history – Facilitate multiple users / versions.
Intro to Git presented by Brian K. Vagnini Hosted by.
Introduction to Git Yonglei Tao GVSU. Version Control Systems  Also known as Source Code Management systems  Increase your productivity by allowing.
CS 160 and CMPE/SE 131 Software Engineering February 16 Class Meeting Department of Computer Science Department of Computer Engineering San José State.
Information Systems and Network Engineering Laboratory I DR. KEN COSH WEEK 1.
Technical Presentation by: David Spano. About Git (VCS) Simple Git Commands Branching Github Git GUI Summary.
1 Ivan Marsic Rutgers University LECTURE 2: Software Configuration Management.
Jun-Ru Chang Introduction GIT Jun-Ru Chang
Collaborative Git An introduction to Git with others
Dr. Tanusri Bhattacharya
Version Control Systems
Basics of GIT for developers and system administrators
CS5220 Advanced Topics in Web Programming Version Control with Git
Source Control Systems
Git primer Landon Cox January 19, 2017.
4 Version control (part 1)
Information Systems and Network Engineering Laboratory II
Source Control Systems
Git and GitHub primer.
LECTURE 2: Software Configuration Management
Version Control.
Version Control with Subversion (SVN)
Version control, using Git

Git for Visual Studio Developers MARTIN KULOV, ASE
CS5220 Advanced Topics in Web Programming Version Control with Git
Version Control System using Git
Development and Deployment
Software Engineering for Data Scientists
Version Control with Git and GitHub
Version Control Systems
Storing, Sending, and Tracking Files Recitation 2
An introduction to version control systems with Git
Version Control with Git accelerated tutorial for busy academics
An introduction to version control systems with Git
(Advanced) Web Application Development
LECTURE 3: Software Configuration Management
The Big Picture
An introduction to version control systems with Git
Part 1: Editing and Publishing Files
Version Control System - Git
Version control with Git
Introduction to Git and GitHub
CMPE/SE 131 Software Engineering February 14 Class Meeting
Version Control Software
Version Control with Git
Patrick Cozzi University of Pennsylvania CIS Fall 2012
Version Control with Git and GitHub
Git Introduction.
Databases and the MVC Model
Git GitHub.
Software Configuration Management.
Introduction to The Git Version Control System
Presentation transcript:

Version Control with Git http://flic.kr/p/6oP7x7 Version Control with Git

Why track/manage different versions of code?

Backup: Undo or refer to old stuff http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging

Branch: Maintain old release while working on new http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging

Collaborate: Work in parallel with teammates http://git-scm.com/book/en/Distributed-Git-Distributed-Workflows

SWEBOK Knowledge Areas Software Requirements Software Design Software Construction Software Testing Software Maintenance Software Configuration Management Software Engineering Management Software Engineering Process Software Engineering Models and Methods Software Quality Software Engineering Professional Practice Software Engineering Economics Computing Foundations Mathematical Foundations Engineering Foundations Today’s topic

Version Control Systems (VCSs) Help you track/manage/distribute revisions Standard in modern development Examples: Revision Control System (RCS) Concurrent Versions System (CVS) Subversion (SVN) Git older Our focus newer

Version Control Hosting Services Enable sharing version control repos Internet/Web based Examples: SourceForge Bitbucket GitLab GitHub Our focus

GitHub-User Perspective You GitHub Working Dir

GitHub-User Perspective You GitHub Working Dir Local Repos

GitHub-User Perspective You GitHub Working Dir Local Repos Remote Repos

Using GitHub to Collaborate Remote Repos GitHub

Questions to answer How organized? You GitHub What operations? Working Dir Local Repos Remote Repos What operations?

Repo Organization http://git-scm.com/book/

Commits (from oldest to newest; hashes as commit IDs) Repo Organization Commits (from oldest to newest; hashes as commit IDs) http://git-scm.com/book/

Snapshot of all files at each commit Repo Organization Snapshot of all files at each commit http://git-scm.com/book/

Repo Organization Branch (last commit) http://git-scm.com/book/

Current Version in Working Dir Local repos also have... HEAD Current Version in Working Dir http://git-scm.com/book/

Local Repo Operations You init add/commit log … Working Dir Local Repos

How commit works... Before HEAD http://git-scm.com/book/

How commit works... After HEAD http://git-scm.com/book/

Remote Repo Operations You GitHub Working Dir clone push pull remote ... Local Repos Remote Repos

Learn the Core Local/Remote Operations Demo Videos: https://scott-fleming.github.io/web-dev-rails-git- tutorial/demo-04-git-local.html https://scott-fleming.github.io/web-dev-rails-git- tutorial/demo-05-git-branches.html https://scott-fleming.github.io/web-dev-rails-git- tutorial/demo-06-git-remote.html

Summary Version Control Systems Git and GitHub Repo Structure Local/Remote Repo Operations Commit Semantics http://flic.kr/p/aCLor3