Incorrect dates in commit log

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
Accepted answer

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.

Or Preferences > Git in the Mac version.

This took care of it, thanks.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,106 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you