github - Git errors for a repo on network drive -


i've created network drive locally hosted website, , i'm managing files directly on network drive. , i'm using network drive local git repo. so, if make changes file there, i'd want able push my remote git repo. when start that, gives me many errors. sometimes, fails check status, gives errors such as

  1. "fatal: index file smaller expected"
  2. "fatal: unable create 'y:/demo.dotcms.com/demos/tstgit/.git/index.lock': file exists."
  3. "error: update_ref failed ref 'head': cannot lock ref 'head': unable create 'y:/demo.dotcms.com/demos/tstgit/.git/refs/heads/master.lock': file exists."
  4. "error: update_ref failed ref 'refs/remotes/origin/master': cannot lock ref 'refs/remotes/origin/master': unable create y:/demo.dotcms.com/demos/tstgit/.git/refs/remotes/origin/master.lock': file exists."

i've googled , followed every direction in: 1. http://codybonney.com/fixing-fatal-index-file-smaller-than-expected-error/ 2. http://programertools.blogspot.com/2014/04/how-to-fix-fatal-index-file-smaller.html , few others

but i'm still getting these issues. however, when try check status, stage, commit, push, seems work fine when local drive. works when map network drive shared drive. these errors when working on network drive mapped locally hosted site. please help.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -