Change default repo location

James Carroll
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 20, 2014

Whenever I clone a repo from BitBucket to my local system, Sourcetree assumes that I want to store the local copy to my "home" directory( c:\users\<my name>\Documents\<repo_name>). That's not where I have all my git repos, so I have to navigate to where I want it to be stored. This creates two frustrations:

1. I can't figure out how to change the default location so that I don't have to navigate at all.

2. Once I'm done navigating Sourcetree has "forgets" the repo name so I have to add it back in.

Is there a way to set the default folder in SourceTree so that I'm not as frustrated?

4 answers

1 accepted

32 votes
Answer accepted
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 21, 2014

Have you tried setting the "Project Folder" in Tools > Options > General > Misc? I don't know if that is what that option sets, but it seems like it might.

James Carroll
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 21, 2014

That was it! Thanks!

Łukasz Augustyniak
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 15, 2014

Thanks! Works for me too :)

JC
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 14, 2015

Thank you!

Lucy
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 14, 2015

Note that for macs this setting is under SourceTree > Preferences > Misc section but is still called "Project Folder"

Like CyxouD likes this
jmccleery
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 10, 2015

Exactly what I was looking for!

Joaquim Barrera
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 1, 2016

OMG so obvious... smile

scottgoddard June 6, 2016

I completely missed this also, despite many looks! Thanks smile

amitkdr
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 29, 2016

So what does one do if one's work-laptop is tiny and the misc folder is below the fold and there's no scroll bar on that option window? I can't get to that option and can't pretend to have a higher resolution!

Sunny Howe April 9, 2019

Works for me Too - so amazing which I would known this long ago

19 votes
Tornike Gelashvili
Contributor
June 6, 2017

In a new version of sourcetree (v2) the setting is called "Project folder:" and it's located under Tools > Options > General > Repo Settings.

vsshs
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 14, 2017

Thanks!

Like # people like this
Jeramy S January 23, 2020

This is still accurate in V 3.3.6 (Jan 2020).

Moeez_Ahmed
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 11, 2020

Thank you. This information helped me.

titiman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 14, 2021

Thank you. Confirmed the same for v 3.4.2 on Windows as of April 2021.

0 votes
pradeepradyumna
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 27, 2021

In the year 2021, Source Tree Version 3.4.4 for Windows.  you can find it under 

Tools -> Options -> General -> Repos Settings

SourceTree.png

0 votes
Project Manager
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 28, 2020

I am unable to modify this using the BitBucket GUI for macOS (version 4.0.1).

There is no button available to choose a different default directory...

Does anybody know how to modify this using command line?

bb-mac-prefs.jpg

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events