Why does the graph in sourcetree look so different from git log?

Here is the graph I get when running the command `git log --graph --oneline --decorate --all`

It's completely linear. origin/chord-groups and master share mutual commits.

image2017-1-19 13:42:2.png

However this is the graph I get in Sourcetree:

image2017-1-19 13:43:12.png

I'm struggling to understand why the graph isn't linear. The graph implies that chord-groups and master don't share the same history.

2 answers

1 accepted

Check to see if SourceTree is displaying commits in "Date Order" or "Ancestor Order", and try switching it. I've seen other people report situations where somehow using one or the other results in a situation where SourceTree displays a child commit lower on the list than its parent, and that completely destroys its ability to render correct lines.

I spent ages trying to work this out and the fix was so simple. Thanks! smile

Decided to just use the shell on it's own from now on. Using sourcetree has started to become more and more of a drag.

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

273 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot