I was expecting 'git log --after' to show me commits after a given date 
time. What it does is includes the commit at the time stamp provided, why 
is that? Is this a bug?

example - I've kept track of the date of my last commit by doing the 

git show -s --format="%ci" <a commit hash>

which gives me a date like this:


Then I was thinking I could get the commit log after this by using the 

git log --after="YYYY-MM-DD HH:MM:SS Z"

In the resulting output the commit referenced in 'a commit hash' above is 
included, which is not what I'd expect and makes working with the output 
more difficult afterward.

Is there a way to get a list of commits after another commit, using the 
other commit as a reference point or will it always included the previous 
commit I used as a reference point?


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to