From 2d9d3304d688a8ffe17d6a8409882547be48c3d4 Mon Sep 17 00:00:00 2001 From: Nate Beaty Date: Tue, 29 Mar 2022 21:18:16 -0400 Subject: [PATCH] remove update update --- content/posts/2015-02-18-daily-git-log-for-your-timesheet.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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