On Sat, Oct 19, 2013 at 02:45:46PM +0300, Ain Valtin wrote: > On Sat, Oct 19, 2013 at 2:11 PM, Fredrik Gustafsson <iveqy@xxxxxxxxx> wrote: > > > > Git has a bad history with mapped drives in windows. It's also usually a > > bad idea to use git over the network (and most mapped drives are over > > the network and not local between virt. machines). > > > > I would advise not to use this setup since for the past two years that > > git has sometime worked and sometimes not with this setup. (It's not > > just seperate git dir, a git dir at all over a smb share have been > > problematic). > > That's a shame :( > As I wrote I want to use git in a virtual machine and as a extra > precaution it would be nice to have the repo outside of the VM, on the > host drive - should the VM not to start up for whatever reason I > wouldn't lose my repo with it... > > > ain A better way (if you can afford it) is to have a repo on the virtual machine and push to a repo on your hostmachine (so that you've two repos). However your solution "should" work but I personally have had some problems with that area. -- Med vänliga hälsningar Fredrik Gustafsson tel: 0733-608274 e-post: iveqy@xxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html