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>
g...
basic use
… and undo my job
git log
cancel modifications and jump in old state
git reset --hard <SHA1>
or just see old sta...
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 pus...
This slides are part of 5slides serie
« 5slides – how to present a concept in 5 slides »

Credits
gitmagic by Ben Lynn fr ...
Upcoming SlideShare
Loading in …5
×

git in 5 slides

474 views

Published on

I try to present a concept in 5 slides …

Today git

Published in: Education, Technology, Sports
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
474
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

git in 5 slides

  1. 1. git in 5 slides
  2. 2. git is distributed revision control and source code management HEB-ÉSI · Pierre Bettens (pbt) · 2 / 8
  3. 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. 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
  5. 5. working together
  6. 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. 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. 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

×