How to get only one git log result between the given range?

3

How can I filter only a single commint of git log?

Example:

git log --after=2017-10-02T13:40:56

With this I get all commits after that date, how can I get only the first commit after that date?

    
asked by anonymous 04.10.2017 / 13:33

1 answer

2

Resolve using -Quantity

Example:

git log -1 --after=2017-10-02T13:40:56

That way and only the first one is shown.

    
04.10.2017 / 14:06