Introduction to Git and GitHub

Slides:



Advertisements
Similar presentations
Version Control CS440 – Introduction to Software Engineering © 2014 – John Bell Based on slides prepared by Jason Leigh for CS 340 University.
Advertisements

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.
Github. Download & install git   Git bash  Git GUI.
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
Getting Started with GIT. Basic Navigation cd means change directory cd.. moves you up a level cd dir_name moves you to the folder named dir_name A dot.
علیرضا فراهانی استاد درس: جعفری نژاد مهر 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)
Source Control Primer Patrick Cozzi University of Pennsylvania CIS Spring 2012.
Version Control. How do you share code? Discussion.
Git Fundamentals Rochelle Terman 13 January 2014.
Git Basics. Git stores data as snapshots of the project over time When commit Save all the files If files have not changed, point to the previous identical.
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.
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.
© 2015 by Herb Holyst Introduction to git Cytomics Workshop December, 2015.
INTRODUCTION TO GIT. Install Egit for eclipse Open eclipse->Help->Install New Software Search for one of the following -
Technical Presentation by: David Spano. About Git (VCS) Simple Git Commands Branching Github Git GUI Summary.
CS102 Basic Computer Science and Programming Assoc. Prof. Jens Allmer Teaching Assistants: Canan Has, Caner Bağcı.
1. A new git is initialized as a remote repository JohnRemote repositoryPeter master C0 CodingWhileBlack.com PROPEL CODING
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
Jun-Ru Chang Introduction GIT Jun-Ru Chang
Version Control Systems
Basics of GIT for developers and system administrators
M.Sc. Juan Carlos Olivares Rojas
Source Control Systems
L – Modeling and Simulating Social Systems with MATLAB
L – Modeling and Simulating Social Systems with MATLAB
CReSIS Git Tutorial.
Code Management With Github & Straw Resistance Measurements
Git-Github Safa Prepared for the course COP4331 – Fall 2016.
Version Control.
CS/COE 1520 Recitation Week 2
Setting up Git, GitBash, and GitHub
L – Modeling and Simulating Social Systems with MATLAB
Setting up Git, GitBash, and GitHub
SSE2034: System Software Experiment 3 Spring 2016
L – Modeling and Simulating Social Systems with MATLAB
Version Control overview
Version control, using Git
Macaualy2 Workshop Berkeley 2017
Version Control Systems
An introduction to version control systems with Git
Version Control with Git accelerated tutorial for busy academics
SU Development Forum Introduction to Git - Save your projects!
Distributed Version Control with git
An introduction to version control systems with Git
The Big Picture
SIG: Open Week 1: GitHub Tim Choh.
Setting up Git, GitBash, and GitHub
An introduction to version control systems with Git
Git-Github Tools Prepared for COP4331. Git-Github Tools Prepared for COP4331.
Part 1: Editing and Publishing Files
Advantages Project Career Divide & Conquer Collaboration
Source Code Repository
Git CS Fall 2018.
Convert an Eclipse Project to a Git repository and push up to GitHub
Қазақ Ұлттық Техникалық Зерттеу Университеті
Patrick Cozzi University of Pennsylvania CIS Fall 2012
Version Control with Git and GitHub
Version/revision control via git
Intro to Git and GitHub Version Control using Git Carol Schofield
Introduction to Git and Github
Git GitHub.
Introduction to The Git Version Control System
Advanced Git for Beginners
Presentation transcript:

Introduction to Git and GitHub Brandon Chupp 2017

What is git? Git is a version control system which tracks file changes. It is primarily used by programmers to manage source code.

Why use git? Keep different versions of code Restore old backups Collaborate with multiple people on one piece of code

Getting Started Download and install: https://git-scm.com/downloads Run command in console window to verify it is installed: $git --version Now, we’ll set our username and email so we know who is making changes: $ git config --global user.name “emustudent” $ git config --global user.email “emu.student@emu.edu”

Start git in project folder: $ git init

Add new files and commit Add new files to be tracked by Git: $ git add filename.txt Note: To add all files in the current directory: $ git add . Commit changes made to files: $ git commit –m “reason for changes here”

Make github account Free software for students with .edu email address: https://education.github.com/pack Make an account at https://github.com/

Setup new Repository Make new public or private repository for your code Add Github repository as remote: $ git remote add origin git@github.com:emustudent/sampleproject.git Now “push” your most recent changes $ git push Other steps… Create .gitignore $ git pull $ git clone