Changes between Version 4 and Version 5 of GitCookbook

Show
Ignore:
Timestamp:
09/09/09 00:27:18 (5 years ago)
Author:
dukeleto
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GitCookbook

    v4 v5  
    33To check out a repo: 
    44 
    5 {{{ git checkout git://github.com/leto/parrot.git }}} 
     5{{{ git clone git://github.com/leto/parrot.git }}} 
    66 
    77There should now be a directory called "parrot" in your current directory. 
     
    5858{{{ git branch -a }}} 
    5959 
     60= create a branch = 
     61 
     62Suppose you want to create a local branch to work on your latest and greatest new feature. To create a new branch and check it out all in one automagical command: 
     63 
     64{{{ git checkout -b new_branch }}} 
     65 
     66If you want to create the branch and check it out seperately (maybe because you want to do something else in between or batch the creation of many branches/etc..) 
     67 
     68 
    6069= merge = 
    6170