Git <-> GitHub.

Slides:



Advertisements
Similar presentations
An Introduction By Sonali and Rasika.  Required for the project  Show the versions of your code in the course of development  Show versions of your.
Advertisements

LECTURE 14 OCT 22, 2010 Git, in graphic form. Change tracking basics.
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.
1 CSE 390 “Lecture 11” Version control with Git slides created by Ruth Anderson, images from
Git for Version Control These slides are heavily based on slides created by Ruth Anderson for CSE 390a. Thanks, Ruth! images taken from
Git. What’s Git? A British swear A Distributed Version Control System Developed in 2005 by Linus Torvalds for use on the Linux Kernel Git Logo by Jason.
علیرضا فراهانی استاد درس: جعفری نژاد مهر Version Control ▪Version control is a system that records changes to a file or set of files over time so.
Peter Ogden and Josh Levine.  Motivation  High level overview  Walk through the common operations  How not to break things (too badly)
1 Introductory Notes on the Git Source Control Management Ric Holt, 8 Oct 2009.
ITEC 370 Lecture 16 Implementation. Review Questions? Design document on F, feedback tomorrow Midterm on F Implementation –Management (MMM) –Team roles.
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.
Git : Part 2 Checkout, Add, Commit These slides were largely cut-and-pasted from tutorial/, with some additions.
1 Applied CyberInfrastructure Concepts ISTA 420/520 Fall
Introduction to GitHub Alex Bigazzi Dec. 4, 2013 ITS Lab GitHub Introduction1.
1 GIT NOUN \’GIT\ A DISTRIBUTED REVISION CONTROL AND SOURCE CODE MANAGEMENT (SCM) SYSTEM WITH AN EMPHASIS ON SPEED. INITIALLY DESIGNED AND DEVELOPED BY.
Version Control System Lisa Palathingal 03/04/2015.
GIT.
Intro to Git presented by Brian K. Vagnini Hosted by.
Introduction to Git - Chirag Dani. Objectives Basics of Git Understanding different “Mindset of Git” Demo - Git with Visual Studio.
Technical Presentation by: David Spano. About Git (VCS) Simple Git Commands Branching Github Git GUI Summary.
Git How to 1. Why Git To resolve problems in lab exams (accidental deletions) Use existing Libraries with ease (Statistics and Computer) Prepare undergraduates.
Using Git with collaboration, code review, and code management for open source and private projects. & Using Terminal to create, and push commits to repositories.
1. A new git is initialized as a remote repository JohnRemote repositoryPeter master C0 CodingWhileBlack.com PROPEL CODING
BIT 285: ( Web) Application Programming Lecture 07 : Tuesday, January 27, 2015 Git.
Jun-Ru Chang Introduction GIT Jun-Ru Chang
GitHub A web-based Git repository hosting service.
GIT Version control. Version Control Sharing code via a centralized DB Also provides for Backtracking (going back to a previous version of code), Branching.
KIT – University of the State of Baden-Wuerttemberg and National Research Center of the Helmholtz Association STEINBUCH CENTRE FOR COMPUTING - SCC
Version Control Systems
M.Sc. Juan Carlos Olivares Rojas
Source Control Systems
I Don’t Git It: A beginner’s guide to git Presented by Mathew Robinson
11 Version control (part 2)
CReSIS Git Tutorial.
Git-Github Safa Prepared for the course COP4331 – Fall 2016.
LECTURE 2: Software Configuration Management
Version Control.
Git Practice walkthrough.
CS/COE 1520 Recitation Week 2
SSE2034: System Software Experiment 3 Spring 2016
Software Engineering for Data Scientists
Version Control Systems
Storing, Sending, and Tracking Files Recitation 2
An introduction to version control systems with Git
Distributed Version Control with git
Akshay Narayan git up to speed with RCS Akshay Narayan
An introduction to version control systems with Git
LECTURE 3: Software Configuration Management
The Big Picture
SIG: Open Week 1: GitHub Tim Choh.
An introduction to version control systems with Git
Git-Github Tools Prepared for COP4331. Git-Github Tools Prepared for COP4331.
Advantages Project Career Divide & Conquer Collaboration
Source Code Repository
Using Github.
Version Control System - Git
Version control with Git
Introduction to Git and GitHub
Version Control with Git and GitHub
GitHub 101 Using Github and Git for Source Control
Version/revision control via git
Git Introduction.
Introduction to The Git Version Control System
Introduction To GitHub
Introduction To GitHub
Advanced Git for Beginners
Presentation transcript:

Git <-> GitHub

git vs GitHub git is a local software that manages a local version control repository and communications with remote repositories. GitHub is a web service that provides storage and management of a remote git repository.

git documentation https://git-scm.com/doc

Working with git Working with a remote repository remote push fetch Working with the local repository Init status add commit log branch checkout merge reset config Working with a remote repository remote push fetch pull

distributed version control system The development environment with: Working directory Staging area or index Local repository A server with: Remote repository

Cloning a repository Working directory Local repository

Making changes in the working directory There are 2 types of files in the working directory: Tracked: files that Git knows about. Untracked: files that have still not been added, so Git doesn’t know about.

Updating the remote repository As changes are ready in the working directory, they must be added in the staging area. When there is a set of changes with a single purpose in the staging area, it’s the time to create a commit with a message about that purpose in the local repository. When there are one or several commits in the local repository ready to be shared with the rest of the world, they must be pushed to the remote repository.

Different states of a file Different states of a file in the development environment: Modified Staged Committed.

Updating the development environment - Fetching When executing git fetch, the data from remote repository only travels to the local repository.

Updating the development environment - Pulling When executing git pull, the data from remote repository travel to 2 areas: To local repository: fetch To working directory: merge

Attributions https://git-scm.com/doc https://rachelcarmena.github.io/2018/12/12/how-to-teach-git.html