I've created a network drive for my locally hosted website, and I'm
managing all my files directly on the network drive. And I'm using that
network drive as a local git repo. So, if I make any changes to a file
there, I'd also want to be able to push it my my remote git repo. But when
I start to do that, its gives me so many errors. Sometimes, it fails to
check the status, sometimes gives errors such as
1. "fatal: index file smaller than expected"
2. "fatal: Unable to create
'Y:/demo.dotcms.com/demos/tstgit/.git/index.lock': File exists."
3. "error: update_ref failed for ref 'HEAD': cannot lock ref 'HEAD': Unable
to create 'Y:/demo.dotcms.com/demos/tstgit/.git/refs/heads/master.lock':
4. "error: update_ref failed for ref 'refs/remotes/origin/master': cannot
lock ref 'refs/remotes/origin/master': Unable to create
I've googled and followed every direction I could in:
But I'm still getting these issues.
However, when I try to check status, stage, commit, push, everything seems
to work fine when I do it from my local drive. But I get these errors only
when working from network drive.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.