SlideShare a Scribd company logo
git in 5 slides
git is distributed revision control
and source code management

HEB-ÉSI · Pierre Bettens (pbt) · 2 / 8
basic use
I want save my work …
git init
git add .
git commit -m "First commit"
git add
git rm <file>
git mv <old> <new>
git log
HEB-ÉSI · Pierre Bettens (pbt) · 3 / 8
basic use
… and undo my job
git log
cancel modifications and jump in old state
git reset --hard <SHA1>
or just see old state
git checkout <SHA1> or
git checkout :/"First words …"

or forget one specific commit
git revert <SHA1>
HEB-ÉSI · Pierre Bettens (pbt) · 4 / 8
working together
work with other
Someone who access my box
git clone <url>:<project>
git pull

tate
st s
l la
pul

ssh or git daemon
work with github
github is online hosting*
create project online and local and push
or
fork on github, clone, pull and push
issues, wiki, project web page, …
* other hosting gitorious or repo.or.cz
This slides are part of 5slides serie
« 5slides – how to present a concept in 5 slides »

Credits
gitmagic by Ben Lynn fr en

Who am I ?
Pierre Bettens (pbt) – http://blog.namok.be

Images and icons
The noun project; Joe Harrisson, Juan Pablo Bravo, Mert Gutav
Flickr; Richard Cuisset

More Related Content

PDF
Advanced Git Tutorial
PPTX
Git intro hands on windows with msysgit
PPTX
Git cli
PDF
Git tutorial
PDF
Version Control Systems with git (and github) as an example
PPTX
Git basics
PDF
Git and GitHub
PPTX
Advanced Git Presentation By Swawibe
Advanced Git Tutorial
Git intro hands on windows with msysgit
Git cli
Git tutorial
Version Control Systems with git (and github) as an example
Git basics
Git and GitHub
Advanced Git Presentation By Swawibe

What's hot (20)

ODP
Git tech talk
PPTX
Introduction to git administration
PPTX
Introduction to git and github
PDF
Git: A Getting Started Presentation
PPTX
Introduction to Git and Github
PPTX
Git 101 for_tarad_dev
PPT
Git basic
PDF
SouthEast LinuxFest 2015 - intro to git
KEY
Git isthenewsexy
PPTX
Github
PPTX
(Open Hack Night 2014) GitHub Tutorial
PDF
Git basics
KEY
Intro to git
PDF
Introduction to GIT
PDF
Essential Git and Github commands
PDF
Take the next step with git
PPTX
Git Obstacle Course: Stop BASHing your head and break down the basics
PPTX
Ohh shit git
PDF
How we scaled git lab for a 30k employee company
Git tech talk
Introduction to git administration
Introduction to git and github
Git: A Getting Started Presentation
Introduction to Git and Github
Git 101 for_tarad_dev
Git basic
SouthEast LinuxFest 2015 - intro to git
Git isthenewsexy
Github
(Open Hack Night 2014) GitHub Tutorial
Git basics
Intro to git
Introduction to GIT
Essential Git and Github commands
Take the next step with git
Git Obstacle Course: Stop BASHing your head and break down the basics
Ohh shit git
How we scaled git lab for a 30k employee company
Ad

Similar to git in 5 slides (20)

PPTX
github_gyan.pptx
PPTX
Git-Basics
PPTX
GDG On Campus NBNSCOE Version Control Essential : Master Git & GitHub
PPTX
Git 101
PPT
git2.ppt
PPTX
Introduction to git hub
PPTX
Git.pptx
PPTX
Git 101
PDF
Version Control System - Git
PDF
Introduction to Git
PDF
Git Version Control for the Complete N00b by Adam LaBarge
PPT
git2nvlkndvslnvdslnlknvdlnlvdsnlknsdvlkn.ppt
PDF
Git hub
KEY
Matt Gauger - Git & Github web414 December 2010
PPT
Git and GitHUB Explanation and simple coding for CLI
PPTX
Introduction to GitHub, Open Source and Tech Article
PPTX
Git Basics for Software Version Management
ODP
Git slides
PPT
Introduction to Git
PPTX
git presentation
github_gyan.pptx
Git-Basics
GDG On Campus NBNSCOE Version Control Essential : Master Git & GitHub
Git 101
git2.ppt
Introduction to git hub
Git.pptx
Git 101
Version Control System - Git
Introduction to Git
Git Version Control for the Complete N00b by Adam LaBarge
git2nvlkndvslnvdslnlknvdlnlvdsnlknsdvlkn.ppt
Git hub
Matt Gauger - Git & Github web414 December 2010
Git and GitHUB Explanation and simple coding for CLI
Introduction to GitHub, Open Source and Tech Article
Git Basics for Software Version Management
Git slides
Introduction to Git
git presentation
Ad

Recently uploaded (20)

PDF
HVAC Specification 2024 according to central public works department
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
IGGE1 Understanding the Self1234567891011
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PDF
Hazard Identification & Risk Assessment .pdf
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PPTX
Computer Architecture Input Output Memory.pptx
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
Computing-Curriculum for Schools in Ghana
HVAC Specification 2024 according to central public works department
TNA_Presentation-1-Final(SAVE)) (1).pptx
Chinmaya Tiranga quiz Grand Finale.pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
FORM 1 BIOLOGY MIND MAPS and their schemes
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
IGGE1 Understanding the Self1234567891011
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
Hazard Identification & Risk Assessment .pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
Computer Architecture Input Output Memory.pptx
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
Paper A Mock Exam 9_ Attempt review.pdf.
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Share_Module_2_Power_conflict_and_negotiation.pptx
Computing-Curriculum for Schools in Ghana

git in 5 slides

  • 1. git in 5 slides
  • 2. git is distributed revision control and source code management HEB-ÉSI · Pierre Bettens (pbt) · 2 / 8
  • 3. basic use I want save my work … git init git add . git commit -m "First commit" git add git rm <file> git mv <old> <new> git log HEB-ÉSI · Pierre Bettens (pbt) · 3 / 8
  • 4. basic use … and undo my job git log cancel modifications and jump in old state git reset --hard <SHA1> or just see old state git checkout <SHA1> or git checkout :/"First words …" or forget one specific commit git revert <SHA1> HEB-ÉSI · Pierre Bettens (pbt) · 4 / 8
  • 6. work with other Someone who access my box git clone <url>:<project> git pull tate st s l la pul ssh or git daemon
  • 7. work with github github is online hosting* create project online and local and push or fork on github, clone, pull and push issues, wiki, project web page, … * other hosting gitorious or repo.or.cz
  • 8. This slides are part of 5slides serie « 5slides – how to present a concept in 5 slides » Credits gitmagic by Ben Lynn fr en Who am I ? Pierre Bettens (pbt) – http://blog.namok.be Images and icons The noun project; Joe Harrisson, Juan Pablo Bravo, Mert Gutav Flickr; Richard Cuisset