SlideShare a Scribd company logo
1 of 26
Download to read offline
INTRO TO VERSION
       CONTROL
              WITH GIT AND GITHUB
by: joe fleming | twitter: @w33ble | github: w33ble
TAKEAWAY
   VCS
   Git
   Github
EXPECTATIONS
    Questions
WHAT IS VERSION
      CONTROL?
"The task of keeping a software system consisting of
 many versions and configurations well organized."
          History, Collaboration and State
HISTORY
HISTORY
  Activity log
  Rollback
COLLABORATION
COLLABORATION
   Multiple contributors
   Avoid overwrites
GIT

Git-scm.com
WHY GIT?
It's popular
Branching/merging bliss
Distributed source control
BRANCHING
GIT WORKFLOW
DISTRIBUTED
  Work locally
  Share remotely
  Multiple remotes
GITHUB

Free(ish)
Great interface
Social coding
PULL REQUESTS
CODE REVIEW
CODE REVIEW
MERGING
BLAME
USING GIT
BASIC WORKFLOW
   Add/Edit/Remove files
   Confirm changes
   Stage changes
   Review changes
   Commit changes
BASIC WORKFLOW
   Sublime, vim, eclipse, etc
   git diff
   git add
   git status
   git commit
BRANCHING AND
   MERGING
    git branch
       git checkout -b
    git merge
    git branch -d
USING REMOTES
     git fetch
     git pull
     git push
USEFUL RESOURCES
    Git - The Simple Guide
    Git Cheat Sheet
    Pro Git
    Git Flow
THANKS!


           joe fleming
twitter: @w33ble | github: w33ble

More Related Content

What's hot

Git in 10 minutes (WordCamp London 2018)
Git in 10 minutes (WordCamp London 2018)Git in 10 minutes (WordCamp London 2018)
Git in 10 minutes (WordCamp London 2018)Borek Bernard
 
GitHubをエンジニア以外にも使ってもらうには
GitHubをエンジニア以外にも使ってもらうにはGitHubをエンジニア以外にも使ってもらうには
GitHubをエンジニア以外にも使ってもらうにはtkr1212st
 
Making Juice With GitHub
Making Juice With GitHubMaking Juice With GitHub
Making Juice With GitHubMis Tribus
 
Running a Project with Github
Running a Project with GithubRunning a Project with Github
Running a Project with GithubLorna Mitchell
 
Git lord | A brief intro about git commands in Star Wars theme
Git lord | A brief intro about git commands in Star Wars themeGit lord | A brief intro about git commands in Star Wars theme
Git lord | A brief intro about git commands in Star Wars themeAkarsh Satija
 
Why Aren't You Using Git Flow?
Why Aren't You Using Git Flow?Why Aren't You Using Git Flow?
Why Aren't You Using Git Flow?John Congdon
 
Git - Drupalcamp Ireland Dublin 2010
Git - Drupalcamp Ireland Dublin 2010Git - Drupalcamp Ireland Dublin 2010
Git - Drupalcamp Ireland Dublin 2010alanburke
 
How Git and Gerrit make you more productive
How Git and Gerrit make you more productiveHow Git and Gerrit make you more productive
How Git and Gerrit make you more productiveKarsten Dambekalns
 
Introducing Github and Octocats by Tony Bangratz
Introducing Github and Octocats by Tony BangratzIntroducing Github and Octocats by Tony Bangratz
Introducing Github and Octocats by Tony BangratzRailsGirls_RTM
 
GitHub Classroom - An Open Source Learning Platform by Dr. Anchal Garg
GitHub Classroom - An Open Source Learning Platform by Dr. Anchal GargGitHub Classroom - An Open Source Learning Platform by Dr. Anchal Garg
GitHub Classroom - An Open Source Learning Platform by Dr. Anchal GargNisha Garg
 
Hack the hacktoberfest
Hack the hacktoberfestHack the hacktoberfest
Hack the hacktoberfestSharjeel Yunus
 
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHubRick Umali
 

What's hot (20)

Getting To Know Git
Getting To Know GitGetting To Know Git
Getting To Know Git
 
Open source
Open sourceOpen source
Open source
 
Github
GithubGithub
Github
 
Git step by step
Git step by stepGit step by step
Git step by step
 
Git in 10 minutes (WordCamp London 2018)
Git in 10 minutes (WordCamp London 2018)Git in 10 minutes (WordCamp London 2018)
Git in 10 minutes (WordCamp London 2018)
 
GitHubをエンジニア以外にも使ってもらうには
GitHubをエンジニア以外にも使ってもらうにはGitHubをエンジニア以外にも使ってもらうには
GitHubをエンジニア以外にも使ってもらうには
 
Github
GithubGithub
Github
 
Making Juice With GitHub
Making Juice With GitHubMaking Juice With GitHub
Making Juice With GitHub
 
Running a Project with Github
Running a Project with GithubRunning a Project with Github
Running a Project with Github
 
Git lord | A brief intro about git commands in Star Wars theme
Git lord | A brief intro about git commands in Star Wars themeGit lord | A brief intro about git commands in Star Wars theme
Git lord | A brief intro about git commands in Star Wars theme
 
Why Aren't You Using Git Flow?
Why Aren't You Using Git Flow?Why Aren't You Using Git Flow?
Why Aren't You Using Git Flow?
 
Git - Drupalcamp Ireland Dublin 2010
Git - Drupalcamp Ireland Dublin 2010Git - Drupalcamp Ireland Dublin 2010
Git - Drupalcamp Ireland Dublin 2010
 
How Git and Gerrit make you more productive
How Git and Gerrit make you more productiveHow Git and Gerrit make you more productive
How Git and Gerrit make you more productive
 
Introducing Github and Octocats by Tony Bangratz
Introducing Github and Octocats by Tony BangratzIntroducing Github and Octocats by Tony Bangratz
Introducing Github and Octocats by Tony Bangratz
 
Git and GitHub for RallyOn
Git and GitHub for RallyOnGit and GitHub for RallyOn
Git and GitHub for RallyOn
 
GitHub Classroom - An Open Source Learning Platform by Dr. Anchal Garg
GitHub Classroom - An Open Source Learning Platform by Dr. Anchal GargGitHub Classroom - An Open Source Learning Platform by Dr. Anchal Garg
GitHub Classroom - An Open Source Learning Platform by Dr. Anchal Garg
 
Hack the hacktoberfest
Hack the hacktoberfestHack the hacktoberfest
Hack the hacktoberfest
 
GitHub Introduction
GitHub IntroductionGitHub Introduction
GitHub Introduction
 
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHub
 
Git in Eclipse
Git in EclipseGit in Eclipse
Git in Eclipse
 

Viewers also liked

Team Development on Force.com with Github and Ant
Team Development on Force.com with Github and AntTeam Development on Force.com with Github and Ant
Team Development on Force.com with Github and AntSalesforce Developers
 
Automating Deployment Between Orgs Using Git & Continuous Integration
Automating Deployment Between Orgs Using Git & Continuous IntegrationAutomating Deployment Between Orgs Using Git & Continuous Integration
Automating Deployment Between Orgs Using Git & Continuous IntegrationSebastian Wagner
 
Fun with Jenkins & Salesforce
Fun with Jenkins & SalesforceFun with Jenkins & Salesforce
Fun with Jenkins & SalesforceAbhinav Gupta
 
How to Setup Continuous Integration With Git, Jenkins, and Force.com
How to Setup Continuous Integration With Git, Jenkins, and Force.comHow to Setup Continuous Integration With Git, Jenkins, and Force.com
How to Setup Continuous Integration With Git, Jenkins, and Force.comSalesforce Developers
 
Introduction to Git for Force.com Developers
Introduction to Git for Force.com DevelopersIntroduction to Git for Force.com Developers
Introduction to Git for Force.com DevelopersSalesforce Developers
 
7 common problems with salesforce data migration
7 common problems with salesforce data migration7 common problems with salesforce data migration
7 common problems with salesforce data migrationMark Kofman
 

Viewers also liked (8)

Continuous integration in github
Continuous integration in githubContinuous integration in github
Continuous integration in github
 
Team Development on Force.com with Github and Ant
Team Development on Force.com with Github and AntTeam Development on Force.com with Github and Ant
Team Development on Force.com with Github and Ant
 
Automating Deployment Between Orgs Using Git & Continuous Integration
Automating Deployment Between Orgs Using Git & Continuous IntegrationAutomating Deployment Between Orgs Using Git & Continuous Integration
Automating Deployment Between Orgs Using Git & Continuous Integration
 
Fun with Jenkins & Salesforce
Fun with Jenkins & SalesforceFun with Jenkins & Salesforce
Fun with Jenkins & Salesforce
 
Git flow cheatsheet
Git flow cheatsheetGit flow cheatsheet
Git flow cheatsheet
 
How to Setup Continuous Integration With Git, Jenkins, and Force.com
How to Setup Continuous Integration With Git, Jenkins, and Force.comHow to Setup Continuous Integration With Git, Jenkins, and Force.com
How to Setup Continuous Integration With Git, Jenkins, and Force.com
 
Introduction to Git for Force.com Developers
Introduction to Git for Force.com DevelopersIntroduction to Git for Force.com Developers
Introduction to Git for Force.com Developers
 
7 common problems with salesforce data migration
7 common problems with salesforce data migration7 common problems with salesforce data migration
7 common problems with salesforce data migration
 

Similar to Intro to Version Control with Git and Github

Introduction to git and github.pdf
Introduction to git and github.pdfIntroduction to git and github.pdf
Introduction to git and github.pdfSunilShah57
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to GitColin Su
 
Git, GitHub and Open Source
Git, GitHub and Open SourceGit, GitHub and Open Source
Git, GitHub and Open SourceLorna Mitchell
 
Version control git day03
Version control   git day03Version control   git day03
Version control git day03Gourav Varma
 
Improving your workflow with git
Improving your workflow with gitImproving your workflow with git
Improving your workflow with gitDídac Ríos
 
Starting with Git & GitHub
Starting with Git & GitHubStarting with Git & GitHub
Starting with Git & GitHubNicolás Tourné
 
Git: Why And How to
Git: Why And How toGit: Why And How to
Git: Why And How tolanhuonga3
 
Git cheat-sheets
Git cheat-sheetsGit cheat-sheets
Git cheat-sheetsozone777
 
Version control git day02
Version control   git day02Version control   git day02
Version control git day02Gourav Varma
 
Source control management
Source control managementSource control management
Source control managementOwen Winkler
 
Git Commands Every Developer Should Know?
Git Commands Every Developer Should Know?Git Commands Every Developer Should Know?
Git Commands Every Developer Should Know?9 series
 
Git Ninja KT (GitHub to GitLab)
Git Ninja KT (GitHub to GitLab)Git Ninja KT (GitHub to GitLab)
Git Ninja KT (GitHub to GitLab)Ashok Kumar
 

Similar to Intro to Version Control with Git and Github (20)

Introduction to git and github.pdf
Introduction to git and github.pdfIntroduction to git and github.pdf
Introduction to git and github.pdf
 
Git'in on Windows
Git'in on WindowsGit'in on Windows
Git'in on Windows
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Git, GitHub and Open Source
Git, GitHub and Open SourceGit, GitHub and Open Source
Git, GitHub and Open Source
 
Git presentation
Git presentationGit presentation
Git presentation
 
Version control git day03
Version control   git day03Version control   git day03
Version control git day03
 
Improving your workflow with git
Improving your workflow with gitImproving your workflow with git
Improving your workflow with git
 
Starting with Git & GitHub
Starting with Git & GitHubStarting with Git & GitHub
Starting with Git & GitHub
 
Session git
Session gitSession git
Session git
 
Github By Nyros Developer
Github By Nyros DeveloperGithub By Nyros Developer
Github By Nyros Developer
 
Introduction to Git and Github
Introduction to Git and GithubIntroduction to Git and Github
Introduction to Git and Github
 
Git: Why And How to
Git: Why And How toGit: Why And How to
Git: Why And How to
 
Github
GithubGithub
Github
 
Git cheat-sheets
Git cheat-sheetsGit cheat-sheets
Git cheat-sheets
 
Version control git day02
Version control   git day02Version control   git day02
Version control git day02
 
Git basic
Git basicGit basic
Git basic
 
Git n git hub
Git n git hubGit n git hub
Git n git hub
 
Source control management
Source control managementSource control management
Source control management
 
Git Commands Every Developer Should Know?
Git Commands Every Developer Should Know?Git Commands Every Developer Should Know?
Git Commands Every Developer Should Know?
 
Git Ninja KT (GitHub to GitLab)
Git Ninja KT (GitHub to GitLab)Git Ninja KT (GitHub to GitLab)
Git Ninja KT (GitHub to GitLab)
 

Intro to Version Control with Git and Github