SlideShare una empresa de Scribd logo
1 de 19
Descargar para leer sin conexión
Intro
About Dave
● Co-Founder & CTO at Bloc
● Programmer since childhood
● Bloc, Kontagent/Upsight, Djangy
About Bloc
● Immersive, online mentorship courses in web dev, mobile dev, design
About Git
● Git is an extraordinarily powerful tool
● This is a brief intro!
Agenda
We will cover:
1. What is Version Control?
a. Why should you care?
b. Historical context
c. Why you should use it
2. Git terminology + basics (w/ Demo)
3. GitHub
4. Collaborating on GitHub: branches and pull requests
5. Publishing from git directly into Heroku (w/ Demo)
6. Advanced features
7. Q&A
Version Control
● Changes
○ Record changes
○ Attribute changes
○ “Apply changes”
● Change should be something we model and care about
History
● The dark times (no version control)
○ email source files around
○ keeping track of changes difficult, if not impossible
○ messy (June 5 Version 5 revised v2 v3 REVISED AGAIN filenames)
History
● Diffs and patches
● Make a copy every time you change something
● diff = file containing difference between your new copy and the original
● patch = replay the diff on someone else’s original to produce your
changes
History
● CVS (Concurrent Versions System) - 1990
○ Central repository
● SVN (Subversion) - 2000
○ Central repository
● Git - 2005
○ Built by Linus Torvalds for the linux kernel
○ Distributed
● Hg (Mercurial, very similar to git)
Basics
● Commit
○ Set of changes to one or more files
● Branch
○ A collection of commits in a certain order
○ Main branch is called “master”
○ Branches for all sorts of things
■ New features
■ bug fixes
■ copy changes
■ releases
○ Branches are “merged”
● Repository = set of branches
Demo
Basics
GitHub
GitHub
Collaborating
● Push/Pull
● Branching
● Pull Requests
Branches and Pull Requests
Heroku
● Before heroku
○ purchase virtual server (or physical server)
○ configure application server software
○ configure reverse proxy (apache / nginx)
○ configure databases, caches, permissions, other services
● After heroku
○ git push heroku master
○ heroku addons:add heroku-postgresql
Heroku
Heroku demo
Questions?
Advanced
● Stashing
● Rewriting history (Merging vs. Rebasing)
● Squashing commits (Interactive Rebase)
● Reflog

Más contenido relacionado

La actualidad más candente

Introduction to Git and Github
Introduction to Git and Github Introduction to Git and Github
Introduction to Git and Github Max Claus Nunes
 
Davinci git brown_bag
Davinci git brown_bagDavinci git brown_bag
Davinci git brown_bagJason Noble
 
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewGit and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewRueful Robin
 
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHubRick Umali
 
Version Control Systems with git (and github) as an example
Version Control Systems with git (and github) as an exampleVersion Control Systems with git (and github) as an example
Version Control Systems with git (and github) as an exampleGaurav Kumar Garg
 
News from Git in Eclipse - EclipseCon EU - 2016-10-26
News from Git in Eclipse - EclipseCon EU - 2016-10-26News from Git in Eclipse - EclipseCon EU - 2016-10-26
News from Git in Eclipse - EclipseCon EU - 2016-10-26msohn
 
Barcamp Hong Kong 2014 - Introduction to GIT
Barcamp Hong Kong 2014 - Introduction to GITBarcamp Hong Kong 2014 - Introduction to GIT
Barcamp Hong Kong 2014 - Introduction to GITWong Hoi Sing Edison
 
Workflows using Git GitHub | Edureka
Workflows using Git GitHub | EdurekaWorkflows using Git GitHub | Edureka
Workflows using Git GitHub | EdurekaEdureka!
 

La actualidad más candente (20)

Introduction to Git and Github
Introduction to Git and Github Introduction to Git and Github
Introduction to Git and Github
 
Git Tutorial
Git TutorialGit Tutorial
Git Tutorial
 
Git.odp 0
Git.odp 0Git.odp 0
Git.odp 0
 
Davinci git brown_bag
Davinci git brown_bagDavinci git brown_bag
Davinci git brown_bag
 
Intro to Git
Intro to GitIntro to Git
Intro to Git
 
Flow
FlowFlow
Flow
 
Version controll.pptx
Version controll.pptxVersion controll.pptx
Version controll.pptx
 
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewGit and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
 
Git basics
Git basicsGit basics
Git basics
 
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHub
 
Version Control Systems with git (and github) as an example
Version Control Systems with git (and github) as an exampleVersion Control Systems with git (and github) as an example
Version Control Systems with git (and github) as an example
 
Git'in on Windows
Git'in on WindowsGit'in on Windows
Git'in on Windows
 
Git'in in 15
Git'in in 15Git'in in 15
Git'in in 15
 
Git training (basic)
Git training (basic)Git training (basic)
Git training (basic)
 
News from Git in Eclipse - EclipseCon EU - 2016-10-26
News from Git in Eclipse - EclipseCon EU - 2016-10-26News from Git in Eclipse - EclipseCon EU - 2016-10-26
News from Git in Eclipse - EclipseCon EU - 2016-10-26
 
Git in 10 minutes
Git in 10 minutesGit in 10 minutes
Git in 10 minutes
 
Github
GithubGithub
Github
 
Barcamp Hong Kong 2014 - Introduction to GIT
Barcamp Hong Kong 2014 - Introduction to GITBarcamp Hong Kong 2014 - Introduction to GIT
Barcamp Hong Kong 2014 - Introduction to GIT
 
Git basics
Git basicsGit basics
Git basics
 
Workflows using Git GitHub | Edureka
Workflows using Git GitHub | EdurekaWorkflows using Git GitHub | Edureka
Workflows using Git GitHub | Edureka
 

Destacado

Learning GitHub Part 1
Learning GitHub Part 1Learning GitHub Part 1
Learning GitHub Part 1Lynn Langit
 
Target Audience Presentation (Short film)
Target Audience Presentation (Short film)Target Audience Presentation (Short film)
Target Audience Presentation (Short film)InfinityProductions
 
Imatia: short presentation
Imatia: short presentationImatia: short presentation
Imatia: short presentationimatia
 
Hospitality presentation nagelhout
Hospitality presentation nagelhoutHospitality presentation nagelhout
Hospitality presentation nagelhoutEd Nagelhout
 
Business Valuation Short Presentation
Business Valuation  Short PresentationBusiness Valuation  Short Presentation
Business Valuation Short PresentationMatthew Waymire
 
Presentation1VMware EsxI Short Presentation
Presentation1VMware EsxI Short PresentationPresentation1VMware EsxI Short Presentation
Presentation1VMware EsxI Short PresentationBarcamp Cork
 
Short presentation on the charity show on natural
Short presentation on the charity show on naturalShort presentation on the charity show on natural
Short presentation on the charity show on naturalDPNet
 
How to create a good powerpoint presentation
How to create a good powerpoint presentationHow to create a good powerpoint presentation
How to create a good powerpoint presentationSiphiwe Shabangu
 
VMware Esx Short Presentation
VMware Esx Short PresentationVMware Esx Short Presentation
VMware Esx Short PresentationBarcamp Cork
 
ReviewNinja OSCON
ReviewNinja OSCONReviewNinja OSCON
ReviewNinja OSCONdfarr219
 
Bees - An example of a BAD PowerPoint Presentation
Bees - An example of a BAD PowerPoint PresentationBees - An example of a BAD PowerPoint Presentation
Bees - An example of a BAD PowerPoint Presentationjmarc38
 
Tips for Preparing a Short Presentation
Tips for Preparing a Short PresentationTips for Preparing a Short Presentation
Tips for Preparing a Short PresentationSketchBubble
 
Hbase: Introduction to column oriented databases
Hbase: Introduction to column oriented databasesHbase: Introduction to column oriented databases
Hbase: Introduction to column oriented databasesLuis Cipriani
 
KPCB Design in Tech Report 2015: Simplified and Redesigned
KPCB Design in Tech Report 2015: Simplified and RedesignedKPCB Design in Tech Report 2015: Simplified and Redesigned
KPCB Design in Tech Report 2015: Simplified and RedesignedStinson
 
Virtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMwareVirtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMwareDatapath Consulting
 
12 Days of Productivity
12 Days of Productivity12 Days of Productivity
12 Days of ProductivityRedbooth
 
Engaging Learners with Technology
Engaging Learners with TechnologyEngaging Learners with Technology
Engaging Learners with TechnologyDean Shareski
 
Introducing Apple Watch
Introducing Apple WatchIntroducing Apple Watch
Introducing Apple WatchJJ Wu
 
What Makes Great Infographics
What Makes Great InfographicsWhat Makes Great Infographics
What Makes Great InfographicsSlideShare
 

Destacado (20)

Learning GitHub Part 1
Learning GitHub Part 1Learning GitHub Part 1
Learning GitHub Part 1
 
Target Audience Presentation (Short film)
Target Audience Presentation (Short film)Target Audience Presentation (Short film)
Target Audience Presentation (Short film)
 
Imatia: short presentation
Imatia: short presentationImatia: short presentation
Imatia: short presentation
 
Hospitality presentation nagelhout
Hospitality presentation nagelhoutHospitality presentation nagelhout
Hospitality presentation nagelhout
 
Business Valuation Short Presentation
Business Valuation  Short PresentationBusiness Valuation  Short Presentation
Business Valuation Short Presentation
 
Presentation1VMware EsxI Short Presentation
Presentation1VMware EsxI Short PresentationPresentation1VMware EsxI Short Presentation
Presentation1VMware EsxI Short Presentation
 
Short presentation on the charity show on natural
Short presentation on the charity show on naturalShort presentation on the charity show on natural
Short presentation on the charity show on natural
 
How to create a good powerpoint presentation
How to create a good powerpoint presentationHow to create a good powerpoint presentation
How to create a good powerpoint presentation
 
VMware Esx Short Presentation
VMware Esx Short PresentationVMware Esx Short Presentation
VMware Esx Short Presentation
 
ReviewNinja OSCON
ReviewNinja OSCONReviewNinja OSCON
ReviewNinja OSCON
 
Bees - An example of a BAD PowerPoint Presentation
Bees - An example of a BAD PowerPoint PresentationBees - An example of a BAD PowerPoint Presentation
Bees - An example of a BAD PowerPoint Presentation
 
Tips for Preparing a Short Presentation
Tips for Preparing a Short PresentationTips for Preparing a Short Presentation
Tips for Preparing a Short Presentation
 
Hbase: Introduction to column oriented databases
Hbase: Introduction to column oriented databasesHbase: Introduction to column oriented databases
Hbase: Introduction to column oriented databases
 
KPCB Design in Tech Report 2015: Simplified and Redesigned
KPCB Design in Tech Report 2015: Simplified and RedesignedKPCB Design in Tech Report 2015: Simplified and Redesigned
KPCB Design in Tech Report 2015: Simplified and Redesigned
 
Virtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMwareVirtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMware
 
Lighting you up in Battlefield 3
Lighting you up in Battlefield 3Lighting you up in Battlefield 3
Lighting you up in Battlefield 3
 
12 Days of Productivity
12 Days of Productivity12 Days of Productivity
12 Days of Productivity
 
Engaging Learners with Technology
Engaging Learners with TechnologyEngaging Learners with Technology
Engaging Learners with Technology
 
Introducing Apple Watch
Introducing Apple WatchIntroducing Apple Watch
Introducing Apple Watch
 
What Makes Great Infographics
What Makes Great InfographicsWhat Makes Great Infographics
What Makes Great Infographics
 

Similar a Git Version Control Intro

Beginner's Guide to Version Control with Git
Beginner's Guide to Version Control with GitBeginner's Guide to Version Control with Git
Beginner's Guide to Version Control with GitRobert Lee-Cann
 
Git and GitHub workflows
Git and GitHub workflowsGit and GitHub workflows
Git and GitHub workflowsArthur Shvetsov
 
Git for folk who like GUIs
Git for folk who like GUIsGit for folk who like GUIs
Git for folk who like GUIsTim Osborn
 
Introduction to Git for Network Engineers
Introduction to Git for Network EngineersIntroduction to Git for Network Engineers
Introduction to Git for Network EngineersJoel W. King
 
A practical 30m intro to Git vcs
A practical 30m intro to Git vcsA practical 30m intro to Git vcs
A practical 30m intro to Git vcsOlivier Garcia
 
The Basics of Open Source Collaboration With Git and GitHub
The Basics of Open Source Collaboration With Git and GitHubThe Basics of Open Source Collaboration With Git and GitHub
The Basics of Open Source Collaboration With Git and GitHubBigBlueHat
 
Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.WordCamp Harare
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to GitAmit Mathur
 
Git in the European Parliament
Git in the European ParliamentGit in the European Parliament
Git in the European ParliamentJean-Pol Landrain
 
Git essential training & sharing self
Git essential training & sharing selfGit essential training & sharing self
Git essential training & sharing selfChen-Tien Tsai
 

Similar a Git Version Control Intro (20)

Beginner's Guide to Version Control with Git
Beginner's Guide to Version Control with GitBeginner's Guide to Version Control with Git
Beginner's Guide to Version Control with Git
 
Introduction to git
Introduction to gitIntroduction to git
Introduction to git
 
Advance workshop on git
Advance workshop on gitAdvance workshop on git
Advance workshop on git
 
Git and GitHub workflows
Git and GitHub workflowsGit and GitHub workflows
Git and GitHub workflows
 
Git for folk who like GUIs
Git for folk who like GUIsGit for folk who like GUIs
Git for folk who like GUIs
 
GitHub Event.pptx
GitHub Event.pptxGitHub Event.pptx
GitHub Event.pptx
 
Introduction to Git for Network Engineers
Introduction to Git for Network EngineersIntroduction to Git for Network Engineers
Introduction to Git for Network Engineers
 
A practical 30m intro to Git vcs
A practical 30m intro to Git vcsA practical 30m intro to Git vcs
A practical 30m intro to Git vcs
 
The Basics of Open Source Collaboration With Git and GitHub
The Basics of Open Source Collaboration With Git and GitHubThe Basics of Open Source Collaboration With Git and GitHub
The Basics of Open Source Collaboration With Git and GitHub
 
Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.
 
Mono Repo
Mono RepoMono Repo
Mono Repo
 
Open source
Open sourceOpen source
Open source
 
Command line git
Command line gitCommand line git
Command line git
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Get Git with It! A Developer's Workshop.pptx
Get Git with It! A Developer's Workshop.pptxGet Git with It! A Developer's Workshop.pptx
Get Git with It! A Developer's Workshop.pptx
 
Hg for bioinformatics, second part
Hg for bioinformatics, second partHg for bioinformatics, second part
Hg for bioinformatics, second part
 
Git Basics
Git BasicsGit Basics
Git Basics
 
3 Git
3 Git3 Git
3 Git
 
Git in the European Parliament
Git in the European ParliamentGit in the European Parliament
Git in the European Parliament
 
Git essential training & sharing self
Git essential training & sharing selfGit essential training & sharing self
Git essential training & sharing self
 

Último

Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 

Último (20)

Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 

Git Version Control Intro

  • 1.
  • 2. Intro About Dave ● Co-Founder & CTO at Bloc ● Programmer since childhood ● Bloc, Kontagent/Upsight, Djangy About Bloc ● Immersive, online mentorship courses in web dev, mobile dev, design About Git ● Git is an extraordinarily powerful tool ● This is a brief intro!
  • 3. Agenda We will cover: 1. What is Version Control? a. Why should you care? b. Historical context c. Why you should use it 2. Git terminology + basics (w/ Demo) 3. GitHub 4. Collaborating on GitHub: branches and pull requests 5. Publishing from git directly into Heroku (w/ Demo) 6. Advanced features 7. Q&A
  • 4. Version Control ● Changes ○ Record changes ○ Attribute changes ○ “Apply changes” ● Change should be something we model and care about
  • 5. History ● The dark times (no version control) ○ email source files around ○ keeping track of changes difficult, if not impossible ○ messy (June 5 Version 5 revised v2 v3 REVISED AGAIN filenames)
  • 6. History ● Diffs and patches ● Make a copy every time you change something ● diff = file containing difference between your new copy and the original ● patch = replay the diff on someone else’s original to produce your changes
  • 7. History ● CVS (Concurrent Versions System) - 1990 ○ Central repository ● SVN (Subversion) - 2000 ○ Central repository ● Git - 2005 ○ Built by Linus Torvalds for the linux kernel ○ Distributed ● Hg (Mercurial, very similar to git)
  • 8. Basics ● Commit ○ Set of changes to one or more files ● Branch ○ A collection of commits in a certain order ○ Main branch is called “master” ○ Branches for all sorts of things ■ New features ■ bug fixes ■ copy changes ■ releases ○ Branches are “merged” ● Repository = set of branches
  • 11.
  • 14. Collaborating ● Push/Pull ● Branching ● Pull Requests Branches and Pull Requests
  • 15. Heroku ● Before heroku ○ purchase virtual server (or physical server) ○ configure application server software ○ configure reverse proxy (apache / nginx) ○ configure databases, caches, permissions, other services ● After heroku ○ git push heroku master ○ heroku addons:add heroku-postgresql
  • 19. Advanced ● Stashing ● Rewriting history (Merging vs. Rebasing) ● Squashing commits (Interactive Rebase) ● Reflog