SlideShare a Scribd company logo
GIT, VERSION CONTROL,
       AND YOU.
An introduction to the tastiest version control system.
                         Ever.

               Courtesy of Jeff Byrnes
                  jeff@jeffbyrn.es
WHATCHU TALKIN’ ‘BOUT?
•   Who is this guy?
•   What is Git?
•   More importantly, what’s source control?
•   Why do I need it?
•   What makes Git so uber-sweet? And no so sweet?
•   Get the party started
•   Command me, o Git
•   Back to the Future
•   Branch me, baby
•   Embracing conflict
•   More resources
WHO IS THIS GUY?

• Jeff   Byrnes

• Web  Developer (self-
  taught; HTML/CSS/PHP/JS)

• Trained  Musician (upright &
  electric bass)

• Learned Git in just a few
  months, and now I’m here to
  share!
WHAT IS GIT?

•A   distributed version control system

• Created   by Linus Torvalds, the guy behind Linux

• Used   by lots of people, big to small (think Google, Twitter, etc.)

• Especially   popular amongst open-source projects

  • GitHub, anyone?    jQuery, Linux, etc.
SOURCE CONTROL?



• Ever   heard of this website?
SOURCE CONTROL?

  • Source    control is like a wiki for your text

  • Lots   of different systems (here’s three):

    • CVS

    • Subversion

    • Mercurial



Sorry, there isn’t a logo for CVS. It was made way back when logos weren’t cool.
SOURCE CONTROL?

                                              Server
• Oldersystems (CVS,
 Subversion) are centralized

• Network    access is required   Committer            Committer
• Everyone is dependent on
 the server
SOURCE CONTROL?

                                      Server
• Git(and a few others) are
 distributed

• Thismeans every copy of
 the repository is a clone    Clone            Clone
• Soyou can run off on your
 own & go nuts, or even
 push/pull to each other
SOURCE CONTROL?


 • Well     great, Jeff, but what if I’m a one-person operation?

 • It’s   also fast. Like whoa fast.

 • It also tracks changes on a line-by-line basis, instead of on a
    file-by-file basis




Give some examples of how line-by-line rocks the hizzouse
THE SWEET


•A   history of your changes

• Line-by-line   changes

• Cheap   branching

• No   server needed
THE NO-SO-SWEET


• Not great for binary files
  (images, movies, etc.)

• Lots    to learn

• Still
      very much a
  programmer’s tool
GET THE PARTY STARTED

  • Install   & identify yourself

    • Mac     & Linux users: rejoice

    • Windows        users: I’m sorry

  • git       init

  • That’s    it.


Be sure to go over git config --global for username & email
AT YOUR COMMAND

• git   add

• git   commit

• git   branch

• git   merge

• git   push / git pull
BACK TO THE FUTURE
                      (THINK, MCFLY, THINK!)




• Lots   of commands to undo

• Here’s   the two basic ones:

  • git     revert

  • git     reset
BRANCH ME

 •A    branch is a separate
    strand of work

 • Think   features, bug fixes,
    flights of fancy

 • git  checkout -b
    branchname


Branches are cheap, and should be used wildly. Explain how checking out a branch changes
the whole working tree.
EMBRACE CONFLICT
                     (MERGES AREN’T SCARY)




• Git   is conservative

• Git   always defers to your judgment

• Throws    a merge conflict if it even thinks something is awry

• GUItools (e.g., Tower, Sourcetree, TortoiseGit) make merges
 way easier
MORE RESOURCES

• Git - git-scm.com
• Git Book - book.git-scm.com
•   Successful branching model - nvie.com/posts/a-successful-git-
    branching-model/
•   Git Ready - gitready.com
•   Get Started w/ Git - alistapart.com/articles/get-started-with-git/
• Git Reference - gitref.org
• Think Like A Git - think-like-a-git.net
•   Interactive Git Cheatsheet - ndpsoftware.com/git-cheatsheet.html

More Related Content

Viewers also liked

Git 101
Git 101Git 101
Git 101
jayrparro
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
Colin Su
 
ICF Chapter Conference Keynote: From Coaching to Ka-Ching, by Chuck Reynolds
ICF Chapter Conference Keynote: From Coaching to Ka-Ching, by Chuck ReynoldsICF Chapter Conference Keynote: From Coaching to Ka-Ching, by Chuck Reynolds
ICF Chapter Conference Keynote: From Coaching to Ka-Ching, by Chuck Reynolds
CServe
 
Induction of lactation in fostering mothers
Induction of   lactation   in   fostering   mothersInduction of   lactation   in   fostering   mothers
Induction of lactation in fostering mothers
muhammad al hennawy
 
25 Años Somamfyc
25 Años Somamfyc25 Años Somamfyc
25 Años Somamfyc
RAQUEL GÓMEZ BRAVO
 
Jefe
JefeJefe
Jefe
savasa
 
Proyecto Integrador CEIDA
Proyecto Integrador CEIDAProyecto Integrador CEIDA
Proyecto Integrador CEIDA
guest480a0f
 
San Nicolas del puerto
San Nicolas del puertoSan Nicolas del puerto
San Nicolas del puerto
randradestic12
 
Movimiento Misionero Promedac
Movimiento Misionero PromedacMovimiento Misionero Promedac
Movimiento Misionero Promedac
Jose Zaldivar
 
Pronokal en IML
Pronokal en IMLPronokal en IML
Pronokal en IML
Instituto Médico Láser
 
500 Signagelive Displays for Innovation Generation Ohio
500 Signagelive Displays for Innovation Generation Ohio500 Signagelive Displays for Innovation Generation Ohio
500 Signagelive Displays for Innovation Generation Ohio
Jason Cremins
 
NEPA BlogCon 2012 - Blogging for Smart People
NEPA BlogCon 2012 - Blogging for Smart PeopleNEPA BlogCon 2012 - Blogging for Smart People
NEPA BlogCon 2012 - Blogging for Smart People
Michelle Davies (Hryvnak)
 
L'escola garbí des dels seus inicis
L'escola garbí des dels seus inicisL'escola garbí des dels seus inicis
L'escola garbí des dels seus inicisGTV Escola Garbí
 
Pharmapp. Manual app que localiza la farmacia de guardia
Pharmapp. Manual app que localiza la farmacia de guardiaPharmapp. Manual app que localiza la farmacia de guardia
Pharmapp. Manual app que localiza la farmacia de guardia
Guadalinfo Aznalcázar
 
Negociagro Compra y venta de Ganado Colombia
Negociagro Compra y venta de Ganado ColombiaNegociagro Compra y venta de Ganado Colombia
Negociagro Compra y venta de Ganado Colombia
Venta Ganado
 
Smart Work Servizi Internazionali
Smart Work  Servizi InternazionaliSmart Work  Servizi Internazionali
Smart Work Servizi Internazionaliandreajacono
 
My Vision Express Brochure 2015
My Vision Express Brochure 2015My Vision Express Brochure 2015
My Vision Express Brochure 2015
My Vision Express
 
El sistema solar
El sistema solarEl sistema solar
El sistema solar
jovanivg23
 
El sentido de la sexualidad
El sentido de la sexualidadEl sentido de la sexualidad
El sentido de la sexualidad
isra
 
Chrysler Town & country 2010
Chrysler Town & country 2010Chrysler Town & country 2010
Chrysler Town & country 2010
Puebla Automotriz
 

Viewers also liked (20)

Git 101
Git 101Git 101
Git 101
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
ICF Chapter Conference Keynote: From Coaching to Ka-Ching, by Chuck Reynolds
ICF Chapter Conference Keynote: From Coaching to Ka-Ching, by Chuck ReynoldsICF Chapter Conference Keynote: From Coaching to Ka-Ching, by Chuck Reynolds
ICF Chapter Conference Keynote: From Coaching to Ka-Ching, by Chuck Reynolds
 
Induction of lactation in fostering mothers
Induction of   lactation   in   fostering   mothersInduction of   lactation   in   fostering   mothers
Induction of lactation in fostering mothers
 
25 Años Somamfyc
25 Años Somamfyc25 Años Somamfyc
25 Años Somamfyc
 
Jefe
JefeJefe
Jefe
 
Proyecto Integrador CEIDA
Proyecto Integrador CEIDAProyecto Integrador CEIDA
Proyecto Integrador CEIDA
 
San Nicolas del puerto
San Nicolas del puertoSan Nicolas del puerto
San Nicolas del puerto
 
Movimiento Misionero Promedac
Movimiento Misionero PromedacMovimiento Misionero Promedac
Movimiento Misionero Promedac
 
Pronokal en IML
Pronokal en IMLPronokal en IML
Pronokal en IML
 
500 Signagelive Displays for Innovation Generation Ohio
500 Signagelive Displays for Innovation Generation Ohio500 Signagelive Displays for Innovation Generation Ohio
500 Signagelive Displays for Innovation Generation Ohio
 
NEPA BlogCon 2012 - Blogging for Smart People
NEPA BlogCon 2012 - Blogging for Smart PeopleNEPA BlogCon 2012 - Blogging for Smart People
NEPA BlogCon 2012 - Blogging for Smart People
 
L'escola garbí des dels seus inicis
L'escola garbí des dels seus inicisL'escola garbí des dels seus inicis
L'escola garbí des dels seus inicis
 
Pharmapp. Manual app que localiza la farmacia de guardia
Pharmapp. Manual app que localiza la farmacia de guardiaPharmapp. Manual app que localiza la farmacia de guardia
Pharmapp. Manual app que localiza la farmacia de guardia
 
Negociagro Compra y venta de Ganado Colombia
Negociagro Compra y venta de Ganado ColombiaNegociagro Compra y venta de Ganado Colombia
Negociagro Compra y venta de Ganado Colombia
 
Smart Work Servizi Internazionali
Smart Work  Servizi InternazionaliSmart Work  Servizi Internazionali
Smart Work Servizi Internazionali
 
My Vision Express Brochure 2015
My Vision Express Brochure 2015My Vision Express Brochure 2015
My Vision Express Brochure 2015
 
El sistema solar
El sistema solarEl sistema solar
El sistema solar
 
El sentido de la sexualidad
El sentido de la sexualidadEl sentido de la sexualidad
El sentido de la sexualidad
 
Chrysler Town & country 2010
Chrysler Town & country 2010Chrysler Town & country 2010
Chrysler Town & country 2010
 

Similar to Harvard ABCD-WWW Git presentation

Git
GitGit
Git/Github & Salesforce
Git/Github & Salesforce Git/Github & Salesforce
Git/Github & Salesforce
Gordon Bockus
 
Intro to git
Intro to gitIntro to git
Intro to git
josh_cutler
 
Demo
DemoDemo
Mastering git
Mastering gitMastering git
Mastering git
Christopher Gomez
 
Working with Git
Working with GitWorking with Git
Working with Git
Tony Hillerson
 
Intro to Git & GitHub
Intro to Git & GitHubIntro to Git & GitHub
Intro to Git & GitHub
GoogleDevelopersStud
 
Make It Cooler: Using Decentralized Version Control
Make It Cooler: Using Decentralized Version ControlMake It Cooler: Using Decentralized Version Control
Make It Cooler: Using Decentralized Version Control
indiver
 
Git - A soft introduction
Git - A soft introductionGit - A soft introduction
Git - A soft introduction
Srikanth Sombhatla
 
Git with bitbucket
Git with bitbucketGit with bitbucket
Git with bitbucket
Sumin Byeon
 
Git
GitGit
Git and github
Git and githubGit and github
Git and github
Sayantika Banik
 
WordPress and Git
WordPress and GitWordPress and Git
WordPress and Git
Rob Miller
 
Getting intimate with Git
Getting intimate with GitGetting intimate with Git
Getting intimate with Git
KoalaMetrics
 
Version control with Git & GitHub
Version control with Git & GitHubVersion control with Git & GitHub
Version control with Git & GitHub
benko
 
An introduction to Git and GitFlow
An introduction to Git and GitFlowAn introduction to Git and GitFlow
An introduction to Git and GitFlow
Mark Everard
 
Git installation and configuration
Git installation and configurationGit installation and configuration
Git installation and configuration
Kishor Kumar
 
Git preso to valtech cfml team
Git preso to valtech cfml teamGit preso to valtech cfml team
Git preso to valtech cfml team
SaravanaMuthu Jayaraj
 
Git with bitbucket (draft)
Git with bitbucket (draft)Git with bitbucket (draft)
Git with bitbucket (draft)
Sumin Byeon
 
Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
Betclic Everest Group Tech Team
 

Similar to Harvard ABCD-WWW Git presentation (20)

Git
GitGit
Git
 
Git/Github & Salesforce
Git/Github & Salesforce Git/Github & Salesforce
Git/Github & Salesforce
 
Intro to git
Intro to gitIntro to git
Intro to git
 
Demo
DemoDemo
Demo
 
Mastering git
Mastering gitMastering git
Mastering git
 
Working with Git
Working with GitWorking with Git
Working with Git
 
Intro to Git & GitHub
Intro to Git & GitHubIntro to Git & GitHub
Intro to Git & GitHub
 
Make It Cooler: Using Decentralized Version Control
Make It Cooler: Using Decentralized Version ControlMake It Cooler: Using Decentralized Version Control
Make It Cooler: Using Decentralized Version Control
 
Git - A soft introduction
Git - A soft introductionGit - A soft introduction
Git - A soft introduction
 
Git with bitbucket
Git with bitbucketGit with bitbucket
Git with bitbucket
 
Git
GitGit
Git
 
Git and github
Git and githubGit and github
Git and github
 
WordPress and Git
WordPress and GitWordPress and Git
WordPress and Git
 
Getting intimate with Git
Getting intimate with GitGetting intimate with Git
Getting intimate with Git
 
Version control with Git & GitHub
Version control with Git & GitHubVersion control with Git & GitHub
Version control with Git & GitHub
 
An introduction to Git and GitFlow
An introduction to Git and GitFlowAn introduction to Git and GitFlow
An introduction to Git and GitFlow
 
Git installation and configuration
Git installation and configurationGit installation and configuration
Git installation and configuration
 
Git preso to valtech cfml team
Git preso to valtech cfml teamGit preso to valtech cfml team
Git preso to valtech cfml team
 
Git with bitbucket (draft)
Git with bitbucket (draft)Git with bitbucket (draft)
Git with bitbucket (draft)
 
Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
 

Recently uploaded

20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
Pixlogix Infotech
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 

Recently uploaded (20)

20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 

Harvard ABCD-WWW Git presentation

  • 1. GIT, VERSION CONTROL, AND YOU. An introduction to the tastiest version control system. Ever. Courtesy of Jeff Byrnes jeff@jeffbyrn.es
  • 2. WHATCHU TALKIN’ ‘BOUT? • Who is this guy? • What is Git? • More importantly, what’s source control? • Why do I need it? • What makes Git so uber-sweet? And no so sweet? • Get the party started • Command me, o Git • Back to the Future • Branch me, baby • Embracing conflict • More resources
  • 3. WHO IS THIS GUY? • Jeff Byrnes • Web Developer (self- taught; HTML/CSS/PHP/JS) • Trained Musician (upright & electric bass) • Learned Git in just a few months, and now I’m here to share!
  • 4. WHAT IS GIT? •A distributed version control system • Created by Linus Torvalds, the guy behind Linux • Used by lots of people, big to small (think Google, Twitter, etc.) • Especially popular amongst open-source projects • GitHub, anyone? jQuery, Linux, etc.
  • 5. SOURCE CONTROL? • Ever heard of this website?
  • 6. SOURCE CONTROL? • Source control is like a wiki for your text • Lots of different systems (here’s three): • CVS • Subversion • Mercurial Sorry, there isn’t a logo for CVS. It was made way back when logos weren’t cool.
  • 7. SOURCE CONTROL? Server • Oldersystems (CVS, Subversion) are centralized • Network access is required Committer Committer • Everyone is dependent on the server
  • 8. SOURCE CONTROL? Server • Git(and a few others) are distributed • Thismeans every copy of the repository is a clone Clone Clone • Soyou can run off on your own & go nuts, or even push/pull to each other
  • 9. SOURCE CONTROL? • Well great, Jeff, but what if I’m a one-person operation? • It’s also fast. Like whoa fast. • It also tracks changes on a line-by-line basis, instead of on a file-by-file basis Give some examples of how line-by-line rocks the hizzouse
  • 10. THE SWEET •A history of your changes • Line-by-line changes • Cheap branching • No server needed
  • 11. THE NO-SO-SWEET • Not great for binary files (images, movies, etc.) • Lots to learn • Still very much a programmer’s tool
  • 12. GET THE PARTY STARTED • Install & identify yourself • Mac & Linux users: rejoice • Windows users: I’m sorry • git init • That’s it. Be sure to go over git config --global for username & email
  • 13. AT YOUR COMMAND • git add • git commit • git branch • git merge • git push / git pull
  • 14. BACK TO THE FUTURE (THINK, MCFLY, THINK!) • Lots of commands to undo • Here’s the two basic ones: • git revert • git reset
  • 15. BRANCH ME •A branch is a separate strand of work • Think features, bug fixes, flights of fancy • git checkout -b branchname Branches are cheap, and should be used wildly. Explain how checking out a branch changes the whole working tree.
  • 16. EMBRACE CONFLICT (MERGES AREN’T SCARY) • Git is conservative • Git always defers to your judgment • Throws a merge conflict if it even thinks something is awry • GUItools (e.g., Tower, Sourcetree, TortoiseGit) make merges way easier
  • 17. MORE RESOURCES • Git - git-scm.com • Git Book - book.git-scm.com • Successful branching model - nvie.com/posts/a-successful-git- branching-model/ • Git Ready - gitready.com • Get Started w/ Git - alistapart.com/articles/get-started-with-git/ • Git Reference - gitref.org • Think Like A Git - think-like-a-git.net • Interactive Git Cheatsheet - ndpsoftware.com/git-cheatsheet.html