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

This widget could not be displayed.

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

;)

This widget could not be displayed.

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 Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,296 views 8 11
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