git log --since=1.day command displaying commits from June 27th despite today being July 3rd.
I'm encountering an issue with the git log --since=1.day
command in Git. According to the Git documentation, --since= should limit the log to commits made after the specified date. However, when I run git log --since=1.day, it's returning commits from June 27th, despite today being July 3rd.
As a beginner, I'm unsure how to modify the command to show only commits made in the last 24 hours based on the commit date.
I expected that it would show me the commits made within the last 24 hours only.
My guess is that you are looking at the author date which is June 27th, but --since
is looking at the commit date which is later.
Try git log --format=fuller
to see both author date and commit date for your commit.