git log search tricks

# check pointed auther commit
git log --author="Author Name"

# check pointed period commit
git log --since="2012-2-23" --before="2012-2-24"

# search in commit messages
git log --grep="key word"

# check commit on branch not master
git log branch --not master

# check pointed "string" in some commit
git log -S "string"

 

posted @ 2016-04-15 14:12  阿青1987  阅读(133)  评论(0编辑  收藏