How to get complete hash of commit in dark theme (Mac OS)

Often I need the complete hash of a commit for external documentation. In the light theme I can mark the hash value inside "detail pane", where Commit, Parents, Author, and so on are listed. After marking the hash I can copy it to the clipboard by pressing CMD + C.

If using the dark theme I can't select anything inside the "detail pane".

How can I get the hash values of a commit (short or long one) inside the dark theme?

Thanks in advance.

1 answer

1 accepted

This widget could not be displayed.

Hi Marc,

This works the same regardless of theme, it sounds like something else is amiss and the web view is no longer cooperating. That said, you can right-click on any commit in the list and use the "Copy SHA-1 to Clipboard" contextual menu item to accomplish this.

Brian Ganninger
Senior Mac Developer, SourceTree

Hi Brian,


Thank you for this advice. With this way I can get, what I need.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

868 views 2 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