How to do it...

  1. Let's say we want to know everything that has been done in the last 30 days in the jgit repository that we have been analyzing so far:
$ git log --all --since="30 days ago"commit 6efedb41c6fe3fc6eb88f49afc3e7f481514e806 (HEAD -> master, origin/master, origin/HEAD)Author: Jonathan Nieder <jrn@google.com>Date: Wed May 2 15:23:31 2018 -0700    Mark CrissCrossMergeTest as flaky    It often fails on my machine, both in maven and bazel.    This patch marks the test flaky[1] in bazel so that "bazel test" can    run it a few times before declaring failure.    [1] https://docs.bazel.build/versions/master/be/common-definitions.html#test.flaky    Bug: 534285    Change-Id: Ibe5414fefbffe4e8f86af7047608d51cf5df5c47commit 5f2ddc8ac0528f2fc9776be822568dff3f065670 ...

Get Git Version Control Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.