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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

635 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot