Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
943 views
in Technique[技术] by (71.8m points)

rstudio - Git unable to write sha1 filename...fatal: failed to write commit object

I've installed git (version 2.19.0.windows.1). I am trying to commit changes that I did in Rstudio, I am trying to commit in Git in Rstudio and in GitBash and everywhere I get the same errors.

First error is:

$ git commit --all -m 'Test 6'
fatal: couldn't set 'refs/heads/branchName'

After I am trying to resolve problem and I always get next error:

$ git commit --all -m 'Test 6'
error: unable to write sha1 filename .git/objects/2a/2efc0c4ac6c8c69e78c5555a1a2e5c21d2f3c1: Function not implemented
fatal: failed to write commit object

I've tried:

  1. git config --global core.fscache false
  2. wait and repeat $ git commit few times..

and always it helps, but just for one time, next time I try to commit again and I get the same errors. Could you please help me and tell me, why I have this errors and how I can resolve them?

Thank you very much!

question from:https://stackoverflow.com/questions/66056068/git-unable-to-write-sha1-filename-fatal-failed-to-write-commit-object

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...