Temporary files

Is it possible to disable $TMPDIR usage completely in Sourcetree?

If not, is it possible to disable the preview pane completely?


When you choose a commit sourcetreeapp retrieves the complete files from it, stores them in temp dir, and it's rather slow (the app stalls), even if you disabled diff for the filetype in settings (as suggested in another post).

I don't want to have my repo files randomly spread in the temporary directory either.


Also, can't seem to select External diff utility, and the default (greyed out) doesn't seem to work. Is there a catch to that?

I am also assuming that when doing a diff with FileMerge (the default), sourcetreeapp also create temporary files for that operation?




5 answers

1 accepted

0 vote

Hi Leo,

That's not currently possible. Please file a ticket on https://jira.atlassian.com/browse/SRCTREE with details on your request and workflow for us to review and prioritize. 


Brian Ganninger
Senior Mac Developer, SourceTree

0 vote

A workaround would be to create a custom action to delete $TEMPDIR and then use it in ST after you're done working.

Done. Hope you can make it, would be great, love Sourcetree! :D)


OK, but two things:

(1) TEMPDIR is used by other apps, say Photos, that might be doing a cloud download for instance, may not want to delete everything in there.

(2) Still doesn't solve the speed issue, but I guess the only option for this is not get the files for a commit, like disabling preview completely, or having a default tab in its place for it, like file info only.


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

791 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