It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to use SourceTree in a virtual desktop environment

My university has setup for my lab a Windows 7 virtual desktop environment to run my analyses with all data stored on a network drive. I do not have administrator privileges. Problem is that every time I login and click on SourceTree it's as if I'm running it for the first time. It doesn't know where my local repository is and I have to finish the install and reclone the repository. I think the problem is that every time I log out, all data on the "C" drive is erased. Is there a way to get SourceTree to work in this setting? If not, is there some other way to synchronize my code (which is saved in a network drive, available from the virtual desktop environment)?


Thanks for your help!

1 answer

Whichever way you cut the cake, you need a git client of some sort installed. If nothing is installed now, you should petition your professors or the IT department to AT LEAST install a git command line environment.

In terms of avoiding re-cloning, you could set up your local repo (the one you keep re-cloning) on some sort of removable media (assuming you can mount that in the virtual environment). Git shouldn't have the same problems treating removable media as local that it does if you try to treat network storage as local.

Thanks for the quick reply. They did install source tree, bit every time I logout and then login source tree has forgotten everything I did and I need to start over with it. The code is stored on a network drive so I don't need to reclone it, I just need source tree to know where it is.

Would a command like code be more robust so each time I login I type the same set of command telling it where online my code is and where the local copy is and to synchronize them? If so, what code should I use?

Thanks again

If you open SourceTree and click the Terminal button, SourceTree will launch a standard command-line git client. You should be able to navigate and use any existing repository, regardless of whether it has been bookmarked by SourceTree. You may occasionally get strange error messages when working with a repository on network storage. This question and other questions that are linked within it all related to using git on network storage:

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Atlassian supported Jenkins integration for Bitbucket Server

We’ve been building a plugin to integrate Bitbucket Server and Jenkins CI, and I’m excited to announce that our alpha is ready to download and install. It lets you seamlessly configure a Jenkins job ...

940 views 1 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you