Changes between Version 14 and Version 15 of GitCookbook
- Timestamp:
- 09/09/09 08:03:50 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GitCookbook
v14 v15 2 2 3 3 Before you do anything, you should probably install the bash completion script for git, it makes the learning curve a lot less steep: 4 4 5 http://repo.or.cz/w/git.git?a=blob;f=contrib/completion/git-completion.bash 5 6 … … 60 61 61 62 {{{ git log -p }}} to see the commit history as a series of patches . 63 64 For a colored ascii-art visualization of your git history, with author, time and branch name : 65 66 {{{ git log --pretty=format:'%C(yellow)%h%Creset %s %Cred%an%Creset %Cblue%d%Creset %Cgreen%cr%Creset %cd' --graph --all }}} 67 68 (requires git 1.6.x ) 62 69 63 70 You can give '''git log''' a file name or directory or a branch name. Very useful!
