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!
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?
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: https://answers.atlassian.com/questions/275021/fatal-unable-to-write-new-index-file
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...
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!
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