diff --git a/content/posts/2015-02-18-daily-git-log-for-your-timesheet.html b/content/posts/2015-02-18-daily-git-log-for-your-timesheet.html index ef772ce..41260bd 100644 --- a/content/posts/2015-02-18-daily-git-log-for-your-timesheet.html +++ b/content/posts/2015-02-18-daily-git-log-for-your-timesheet.html @@ -27,7 +27,7 @@
You can also do a a custom span of time e.g. --since=3.days.ago --until=1.day.ago
if you want more than just the last day of commits.
UPDATE: If you are in the thick of push battles with your coworker on a project and want to avoid the “Merge branch” lines from git, you can just add sed '/Merge branch/d'
to the mix:
If you are in the thick of push battles with your coworker on a project and want to avoid the “Merge branch” lines from git, you can just add sed '/Merge branch/d'
to the mix:
git log --author=Nate --since=1.day.ago --all-match --format='%s' | sed '/Merge branch/d' | tail -r | paste -s -d : - | sed -e 's/:/; /g' | pbcopy