Changes between Version 6 and Version 7 of GitCookbook
- Timestamp:
- 09/09/09 00:32:20 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GitCookbook
v6 v7 42 42 LESSON: 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. 43 43 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 50 You can give '''git log''' a file name or directory or a branch name. Very useful! 51 44 52 = update = 45 53
