The important point to note is that:
When I try to check status, stage, commit, push, everything seems to work
fine when I do it from my local drive. It also works when I map a network
drive to another shared drive. But I get these errors only when working on
a network drive mapped to my locally hosted site.
On Friday, January 15, 2016 at 12:12:58 PM UTC-8, Saz wrote:
> 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': File exists."
> 4. "error: update_ref failed for ref 'refs/remotes/origin/master': cannot
> lock ref 'refs/remotes/origin/master': Unable to create Y:/
> demo.dotcms.com/demos/tstgit/.git/refs/remotes/origin/master.lock': File
> I've googled and followed every direction I could in:
> 4. https://jira.atlassian.com/browse/SRCTREE-2018
> 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.
> Please help.
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.