Changes between Version 6 and Version 7 of GitCookbook

Show
Ignore:
Timestamp:
09/09/09 00:32:20 (5 years ago)
Author:
dukeleto
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GitCookbook

    v6 v7  
    4242LESSON: Git only commits files you have added already. The -a flag lets you be lazy and say "go ahead and add all modified files" when you are commiting. 
    4343 
     44= log = 
     45 
     46{{{ git log -10 }}} to see the commit message and metadata for the last 10 commits. 
     47 
     48{{{ git log -p  }}} to see the commit history as a series of patches . 
     49 
     50You can give '''git log''' a file name or directory or a branch name. Very useful! 
     51 
    4452= update = 
    4553