hgtesta (owner)

Revisions

gist: 212406 Download_button fork
public
Public Clone URL: git://gist.github.com/212406.git
Embed All Files: show embed
Git Tips #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
git log --color
git log --oneline
git log --pretty=oneline
git log --graph
git log -p
git log --stats
git log --decorate
git log --pretty="%h %an %s"
git log --pretty=format:'%h %an (%ar) %s'
git log --color --pretty=oneline -- config/database.yml
git log -5
git log --pretty=format:'%C(green)%h%C(reset) %an %C(yellow)%ar%C(reset) %C(magenta)%d %C(reset)%s'
 
# http://learn.github.com/p/log.html
# http://www.kernel.org/pub/software/scm/git/docs/git-log.html