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.
I expecting that it shows me the commits happen within 24hours but it gives me the commits of date June 27th and July 1st.
New contributor
Sumit Sharma is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.