How to configure "Log Selected" in SourceTree preferences? Edited

Is it possible to override how the "Log Selected" feature in SourceTree operates by configuring it somewhere in the preferences?

My motivation is that I would like my sourcetree's "Log Selected" feature to use the `--follow` flag and even list the history before any file renames occured.

2 answers

1 accepted

This widget could not be displayed.
Mikael Sandberg Community Champion Aug 15, 2017

I don't think you can change the behavior of the Log Selected option, but you should be able to create a custom action that uses the --follow option.

sorry that i had to use a snapshot to get my point across, apparently i used "inappropriate language or spam"

You need to include $REPO as well, $FILE only includes the path within the repository.

This worked for me when I tested it right nowCustom Action.png

Btw, the "inappropriate language or spam" is a known issue and it is being worked on, see

Once again, thank you Mikael :)

A working snapshot for other using mac.Screen Shot 2017-08-18 at 2.10.26 PM.png

This widget could not be displayed.

@Mikael Sandberg is correct and makes a good suggestion for a solution. Please make sure to upvote or file a ticket at or and explain your request.

Brian Ganninger
Senior Mac Developer, SourceTree

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

878 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