co.de.mon.key

Weblog

git log - list all commits from user

| Comments

git log is a powerfull command that allows to list all commits with specific criteria.

1
git log --pretty=format:"%ad:%an:%s" --date=short --reverse --all --since=2.months.ago --author=john | grep -v "Merge branch"
  • --all – from all branches
  • %ad – date that respects --date specifier
  • %an – author name
  • %s – subject
1
2
3
4
5
...
2014-04-14:john:Customer entity
2014-04-15:john:Orders model
2014-04-18:john:Fixing security flaw
...

source

Comments