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

Asked

Viewed 74 times

3

How can I filter only a single commint from 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 ?

1 answer

2


Be able to solve using -Amount

Example:

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

Thus it is shown only the first after.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.