Incorrect dates in commit log

Osman Ullah July 9, 2013

I cherry picked a bunch of commits from another remote and Sourcetree is showing the incorrect date for those commits. If I do a git log from the command line the dates are correct, but Sourcetree is showing them all as today's date. Is there any way I can get it to refresh the dates?

1 answer

1 accepted

3 votes
Answer accepted
stevestreeting
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 9, 2013

There are 2 kinds of date in git, commit date and author date. Both are displayed in the commit details pane if you select a commit and they're different, but to choose which one is displayed in the log table, go to Tools > Options > Git > Display author date instead of commit date in log.

stevestreeting
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 9, 2013

Or Preferences > Git in the Mac version.

Osman Ullah July 9, 2013

This took care of it, thanks.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events