Engine23
blogBannerImage
By Engine23

GIT Log - Dump to a txt file

I recently needed to gather just a handful of recent commits for a code review.

This actually is very easy to do, with the appropriate flags.

git --no-pager log --stat --since='2014-03-07 04:08:28' > git-log.txt

Now, you can only get the logs since that date/time.

Here is what it would look like:

commit 3551e428e9c214517165c180c306223c53cbdd01
Author: ralbin <russell@russellalbin.com>
Date: Thu Mar 13 11:37:37 2014 -0500 making it so the reduced price is not so dark skin/frontend/default/theme589/css/styles.css | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-) commit e07fd40bc9985164980f16f74864f57ce14ea3d7
Author: ralbin <russell@russellalbin.com>
Date: Thu Mar 13 11:32:51 2014 -0500 applying css fix app/etc/modules/Engine23_Customer.xml | 2 +-
skin/frontend/default/theme589/css/styles.css | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)