Sourctree trashing my local drive

if i pushed my branch (project) to bitbucket then my space from my drive c: goes down.... i have a SSD and THIS isn't good for the SSD. where can i find the Folder that source tree worked with. i want to changes this :)

2 answers

1 accepted

0 votes
Accepted answer

I'm not so stupid... my repository is on E: this is a HDD.

I found the Problem.

If i click Push, Sourcetree makes an .hg file in the Temp folder under c:\users\username\appdata\local\temp

so i maked a copy from this folder to e:\new_temp

then i deleted the temp folder (this was hard work, because you can't delete files or folders where other programs work with ;) ) after 3 hours i deleted it

after this i maked a symbolic link to e:\new_temp

if any program write data in c:\user\username\appdata\local\temp it doesn't write it on c: but it write it on e: because of the symbolic link


Git and HG store a copy of the entire repository on your local drive. Remote branches are separate from local branches, which is why disk usage goes up when you push.

If you don't like this, move your repository onto a traditional HD instead of drive C.

The data you are looking for will be in a hidden .git or .hg folder in your project.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,961 views 7 10
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