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

The Git - (#1/2)

on

  • 1,111 views

 

Statistics

Views

Total Views
1,111
Views on SlideShare
946
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) The Git - (#1/2) Presentation Transcript

  • Git n.KIM YongUk (@dalinaum) dalinaum@cpan.org
  • Linus, the Author of Linux• Linus Torvalds (ˈliːn.ɵs ˈtuːɹ.vald̥s)• Git n.
  • SVN Sucks! “Dont bother telling me about subversion”• Linus Torvalds (ˈliːn.ɵs ˈtuːɹ.vald̥s)• Git n.
  • Linus, the Author of Git• Linus Torvalds (ˈliːn.ɵs ˈtuːɹ.vald̥s)• Git n.
  • Why?• Cheap Local Branching• Everything is Local• Git is Fast• Git is Small• The Staging Area• Distributed• Any Workflow
  • Cheap Local Branching!• http://whygitisbetterthanx.com
  • Everything is Local!• http://whygitisbetterthanx.com
  • Fast!• http://whygitisbetterthanx.com
  • Staging Area!• http://whygitisbetterthanx.com
  • Small!• http://whygitisbetterthanx.com
  • Any Workflow• http://whygitisbetterthanx.com
  • ,?
  • MsysGit• Windows Git• Msys ( )• ... apt-get install git
  • • ... 3 , 7
  • • Contrats.
  • • /git• cd .
  • mkdir git-test• git-test .cd git-test• git-test .git init• .
  • • .git .
  • • ? ?
  • Subversion . I have a repository. SVN Server
  • GIT . I have a I have a repository Me too. repository. too.GIT Server tom PCruise PChristina arguilera • Subversion, CVS • GIT . • ,
  • i am a REMOTE!! push pull 100 . ! ?•• push pull
  • Mr. Local
  • , ? . Mr. Local$ git config --global user.name "Mr. Local"$ git config --global user.email "local@tom.cruise.com"
  • notepad.exe . .explorer .• (.) .• .
  • • . (hello.txt)
  • git status• .• hello.txt Untracked .
  • git add hello.txt• hello.txt .• hello.txt Changed to be commited .
  • git commit -m “init repo”• commit . :)• init repo .
  • !• hello.txt .
  • git add hello.txtgit commit -m “blah.. blah”• commit . :)
  • git log• .
  • • SVN .• GIT 40 (SHA) .
  • e7ee4•e7ee4 204cb•• .• ?
  • e7ee4 204cb f7ae3 39a3b e53a1• ? 1 3 5 2 4
  • 1 3 5 2 4• ? 1 3 5• .
  • ? .Miss Branches
  • #1• 1 .( 4 )cd ~mkdir aegugagit init
  • .
  • ssh-keygen -t rsa -C “ob@white.gov”• ob@white.gov RSA• ( : )• ,
  • id_rsa : id_rsa.pub:ls ~/.ssh• ~/.ssh .
  • . notepad.exe ? id_rsa.pub .cd ~/.sshexplorer .• (id_rsa.pub) .
  • • http://github.com .• rsa .
  • • Account Settings > Account Settings > SSH Public Keys• (id_rsa.pub) .
  • • Dashboard .• New Repository .
  • • Projet Name .• test .
  • SSH .• .
  • • .
  • ...••
  • remote ? . ? push .
  • remote Mr.Serverpull remote ? . pull push ? pull Mr. ServerremoteMr.Server
  • remote ? ? .
  • . .?origin
  • push origingit remote add origingit@github.com:dalinaum/test.git• .
  • git push origin master• origin master . master ? . SVN trunk .
  • #2• hello.txt github .
  • &