Introduction to Git and Github
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,943
On Slideshare
2,942
From Embeds
1
Number of Embeds
1

Actions

Shares
Downloads
96
Comments
0
Likes
3

Embeds 1

https://twitter.com 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

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