The Git - (#1/2)
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

The Git - (#1/2)

on

  • 1,129 views

 

Statistics

Views

Total Views
1,129
Views on SlideShare
964
Embed Views
165

Actions

Likes
2
Downloads
12
Comments
0

3 Embeds 165

http://strategylab3.wordpress.com 161
http://www.linkedin.com 3
http://blog.naver.com 1

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

The Git - (#1/2) Presentation Transcript

  • 1. Git n.KIM YongUk (@dalinaum) dalinaum@cpan.org
  • 2. Linus, the Author of Linux• Linus Torvalds (ˈliːn.ɵs ˈtuːɹ.vald̥s)• Git n.
  • 3. SVN Sucks! “Dont bother telling me about subversion”• Linus Torvalds (ˈliːn.ɵs ˈtuːɹ.vald̥s)• Git n.
  • 4. Linus, the Author of Git• Linus Torvalds (ˈliːn.ɵs ˈtuːɹ.vald̥s)• Git n.
  • 5. Why?• Cheap Local Branching• Everything is Local• Git is Fast• Git is Small• The Staging Area• Distributed• Any Workflow
  • 6. Cheap Local Branching!• http://whygitisbetterthanx.com
  • 7. Everything is Local!• http://whygitisbetterthanx.com
  • 8. Fast!• http://whygitisbetterthanx.com
  • 9. Staging Area!• http://whygitisbetterthanx.com
  • 10. Small!• http://whygitisbetterthanx.com
  • 11. Any Workflow• http://whygitisbetterthanx.com
  • 12. ,?
  • 13. MsysGit• Windows Git• Msys ( )• ... apt-get install git
  • 14. • ... 3 , 7
  • 15. • Contrats.
  • 16. • /git• cd .
  • 17. mkdir git-test• git-test .cd git-test• git-test .git init• .
  • 18. • .git .
  • 19. • ? ?
  • 20. Subversion . I have a repository. SVN Server
  • 21. GIT . I have a I have a repository Me too. repository. too.GIT Server tom PCruise PChristina arguilera • Subversion, CVS • GIT . • ,
  • 22. i am a REMOTE!! push pull 100 . ! ?•• push pull
  • 23. Mr. Local
  • 24. , ? . Mr. Local$ git config --global user.name "Mr. Local"$ git config --global user.email "local@tom.cruise.com"
  • 25. notepad.exe . .explorer .• (.) .• .
  • 26. • . (hello.txt)
  • 27. git status• .• hello.txt Untracked .
  • 28. git add hello.txt• hello.txt .• hello.txt Changed to be commited .
  • 29. git commit -m “init repo”• commit . :)• init repo .
  • 30. !• hello.txt .
  • 31. git add hello.txtgit commit -m “blah.. blah”• commit . :)
  • 32. git log• .
  • 33. • SVN .• GIT 40 (SHA) .
  • 34. e7ee4•e7ee4 204cb•• .• ?
  • 35. e7ee4 204cb f7ae3 39a3b e53a1• ? 1 3 5 2 4
  • 36. 1 3 5 2 4• ? 1 3 5• .
  • 37. ? .Miss Branches
  • 38. #1• 1 .( 4 )cd ~mkdir aegugagit init
  • 39. .
  • 40. ssh-keygen -t rsa -C “ob@white.gov”• ob@white.gov RSA• ( : )• ,
  • 41. id_rsa : id_rsa.pub:ls ~/.ssh• ~/.ssh .
  • 42. . notepad.exe ? id_rsa.pub .cd ~/.sshexplorer .• (id_rsa.pub) .
  • 43. • http://github.com .• rsa .
  • 44. • Account Settings > Account Settings > SSH Public Keys• (id_rsa.pub) .
  • 45. • Dashboard .• New Repository .
  • 46. • Projet Name .• test .
  • 47. SSH .• .
  • 48. • .
  • 49. ...••
  • 50. remote ? . ? push .
  • 51. remote Mr.Serverpull remote ? . pull push ? pull Mr. ServerremoteMr.Server
  • 52. remote ? ? .
  • 53. . .?origin
  • 54. push origingit remote add origingit@github.com:dalinaum/test.git• .
  • 55. git push origin master• origin master . master ? . SVN trunk .
  • 56. #2• hello.txt github .
  • 57. &