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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,742 views 26 12
Join discussion

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