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

1 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
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 ...

649 views 0 4
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