Introduction to Git and GitHub 2012/02/02
Git 101 <ul><ul><li>Distributed Version Control System </li></ul></ul><ul><ul><ul><li>Design for speed and efficiency </li...
Git 101 <ul><ul><li>Distributed Version Control System </li></ul></ul><ul><ul><ul><li>Designed for speed and efficiency </...
git-scm.com
Git 101 <ul><ul><li>Distributed  Version Control  System </li></ul></ul><ul><ul><ul><li>Designed for speed and efficiency ...
Version Control <ul><ul><li>?? </li></ul></ul><ul><ul><li>?? </li></ul></ul>
Version Control <ul><ul><li>Visual Source Safe </li></ul></ul><ul><ul><li>CVS  ( Concurrent Version System ) </li></ul></u...
Git 101 <ul><ul><li>Distributed  Version Control System </li></ul></ul><ul><ul><ul><li>Designed for speed and efficiency <...
Local  Version Control
Centralized  Version Control
Centralized  Version Control :: Cons
Distributed  Version Control Full mirror Full mirror
Distributed  Version Control Almost  everything is local.
Distributed  Version Control Fast, backup and Work offline
Git 101 <ul><ul><li>Distributed Version Control System </li></ul></ul><ul><ul><ul><li>Designed for speed and efficiency </...
Linux Team Fast Simple Parallel branch ( 1,000+ ) Fully distributed Handle large project such as  Linux kernel
Who use git ?
 
 
Hello Git
Install git on Windows <ul><ul><li>Download from http://code.google.com/p/msysgit </li></ul></ul>
Create User and Password <ul><li>$ git config --global user.name &quot;SomkiatP&quot; $ git config --global user.email  &q...
Create Repository <ul><li>$ git init </li></ul>
View repository <ul><li>$ tree -a </li></ul>Download tree for win32 at  http://sourceforge.net/projects/gnuwin32/files/tre...
Add new file <ul><li>$ touch test_1.txt </li></ul><ul><li>$ git add test_1.txt </li></ul><ul><li>$ git commit -m 'First co...
View repository <ul><li>$ tree -a </li></ul>
Help me <ul><li>$ git help </li></ul>
Help me <ul><li>$ git help <command> </li></ul><ul><li>$ git help init </li></ul>
Clone <ul><li>Now, We don't have Git Server. </li></ul><ul><li>But we have  GitHub.com </li></ul>
GitHub.com
Welcome to GitHub <ul><ul><li>Register and login </li></ul></ul><ul><ul><li>Ready to use .... </li></ul></ul>
Create new repository
After created, Everything you should know and do
Setting git before using github <ul><ul><li>Generate SSH key in git ( Local ) </li></ul></ul><ul><ul><li>$ssh-keygen -t rs...
Copy data in file id_rsa.pub to github
Manage data with github <ul><ul><li>$ git config --global user.name &quot;up1&quot; </li></ul></ul><ul><ul><li>$ git confi...
Manage data with github ( demo )
Manage data with github (demo)
See result at github, Work !!
Come back to Clone repository <ul><ul><li>Copy URL of repository from github </li></ul></ul>
Clone repository <ul><ul><li>$ git clone https://up1@github.com/up1/----hello_tarad.git </li></ul></ul>Required password o...
Good Resource  for beginner
progit.org
https://github.com/opendream/progit  
Upcoming SlideShare
Loading in...5
×

Introduction to Git and Github

2,737

Published on

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,737
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
102
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Introduction to Git and Github

  1. 1. Introduction to Git and GitHub 2012/02/02
  2. 2. Git 101 <ul><ul><li>Distributed Version Control System </li></ul></ul><ul><ul><ul><li>Design for speed and efficiency </li></ul></ul></ul><ul><ul><li>Open Source  </li></ul></ul>
  3. 3. Git 101 <ul><ul><li>Distributed Version Control System </li></ul></ul><ul><ul><ul><li>Designed for speed and efficiency </li></ul></ul></ul><ul><ul><li>Open Source   </li></ul></ul>
  4. 4. git-scm.com
  5. 5. Git 101 <ul><ul><li>Distributed Version Control System </li></ul></ul><ul><ul><ul><li>Designed for speed and efficiency </li></ul></ul></ul><ul><ul><li>Open Source  </li></ul></ul>
  6. 6. Version Control <ul><ul><li>?? </li></ul></ul><ul><ul><li>?? </li></ul></ul>
  7. 7. Version Control <ul><ul><li>Visual Source Safe </li></ul></ul><ul><ul><li>CVS ( Concurrent Version System ) </li></ul></ul><ul><ul><li>SVN ( SubVersion ) </li></ul></ul><ul><ul><li>Bazaar   </li></ul></ul><ul><ul><li>Mercurial ( hg ) </li></ul></ul><ul><ul><li>Git   </li></ul></ul>
  8. 8. Git 101 <ul><ul><li>Distributed Version Control System </li></ul></ul><ul><ul><ul><li>Designed for speed and efficiency </li></ul></ul></ul><ul><ul><li>Open Source  </li></ul></ul>
  9. 9. Local Version Control
  10. 10. Centralized  Version Control
  11. 11. Centralized  Version Control :: Cons
  12. 12. Distributed  Version Control Full mirror Full mirror
  13. 13. Distributed  Version Control Almost  everything is local.
  14. 14. Distributed  Version Control Fast, backup and Work offline
  15. 15. Git 101 <ul><ul><li>Distributed Version Control System </li></ul></ul><ul><ul><ul><li>Designed for speed and efficiency </li></ul></ul></ul><ul><ul><li>Open Source  </li></ul></ul>
  16. 16. Linux Team Fast Simple Parallel branch ( 1,000+ ) Fully distributed Handle large project such as  Linux kernel
  17. 17. Who use git ?
  18. 20. Hello Git
  19. 21. Install git on Windows <ul><ul><li>Download from http://code.google.com/p/msysgit </li></ul></ul>
  20. 22. Create User and Password <ul><li>$ git config --global user.name &quot;SomkiatP&quot; $ git config --global user.email  &quot;somkiat@xxx.com&quot; </li></ul>
  21. 23. Create Repository <ul><li>$ git init </li></ul>
  22. 24. View repository <ul><li>$ tree -a </li></ul>Download tree for win32 at  http://sourceforge.net/projects/gnuwin32/files/tree/  
  23. 25. Add new file <ul><li>$ touch test_1.txt </li></ul><ul><li>$ git add test_1.txt </li></ul><ul><li>$ git commit -m 'First commit' </li></ul>
  24. 26. View repository <ul><li>$ tree -a </li></ul>
  25. 27. Help me <ul><li>$ git help </li></ul>
  26. 28. Help me <ul><li>$ git help <command> </li></ul><ul><li>$ git help init </li></ul>
  27. 29. Clone <ul><li>Now, We don't have Git Server. </li></ul><ul><li>But we have GitHub.com </li></ul>
  28. 30. GitHub.com
  29. 31. Welcome to GitHub <ul><ul><li>Register and login </li></ul></ul><ul><ul><li>Ready to use .... </li></ul></ul>
  30. 32. Create new repository
  31. 33. After created, Everything you should know and do
  32. 34. Setting git before using github <ul><ul><li>Generate SSH key in git ( Local ) </li></ul></ul><ul><ul><li>$ssh-keygen -t rsa -C &quot;somkiat_spns@xxx.com&quot; </li></ul></ul>
  33. 35. Copy data in file id_rsa.pub to github
  34. 36. Manage data with github <ul><ul><li>$ git config --global user.name &quot;up1&quot; </li></ul></ul><ul><ul><li>$ git config --global user.email somkiat_spns@xxx.com </li></ul></ul><ul><ul><li>$ git init </li></ul></ul><ul><ul><li>$ touch README </li></ul></ul><ul><ul><li>$ git add README </li></ul></ul><ul><ul><li>$ git commit -m 'first commit' </li></ul></ul><ul><ul><li>$ git remote add origin git@github.com:up1/----hello_tarad.git </li></ul></ul><ul><ul><li>$ git push -u origin master </li></ul></ul>
  35. 37. Manage data with github ( demo )
  36. 38. Manage data with github (demo)
  37. 39. See result at github, Work !!
  38. 40. Come back to Clone repository <ul><ul><li>Copy URL of repository from github </li></ul></ul>
  39. 41. Clone repository <ul><ul><li>$ git clone https://up1@github.com/up1/----hello_tarad.git </li></ul></ul>Required password of gitbub
  40. 42. Good Resource  for beginner
  41. 43. progit.org
  42. 44. https://github.com/opendream/progit  
  1. Gostou de algum slide específico?

    Recortar slides é uma maneira fácil de colecionar informações para acessar mais tarde.

×