Re: separate-git-dir doesn't work with mapped drive
- From
Fredrik Gustafsson <iveqy@iveqy.com>
- Date
- Oct 19, 2013, 11:55 UTC
- Message-ID
- <20131019115545.GU13967@paksenarrion.iveqy.com>
- In-Reply-To
- <CADgy817rrg0s9icaT_QdAWGiRsb6T5eg4LJAc+Q7CdM=Csexkw@mail.gmail.com>
On Sat, Oct 19, 2013 at 02:45:46PM +0300, Ain Valtin wrote:
Show 19 quoted lines
> On Sat, Oct 19, 2013 at 2:11 PM, Fredrik Gustafsson <iveqy@iveqy.com> 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@iveqy.com