我已经安装了 git(版本 2.19.0.windows.1)。我正在尝试提交我在 Rstudio 中所做的更改,我正在尝试在 Rstudio 和 GitBash 中的 Git 以及我遇到相同错误的任何地方提交。
第一个错误是:
$ git commit --all -m 'Test 6'
fatal: couldn't set 'refs/heads/branchName'
在我尝试解决问题后,总是遇到下一个错误:
$ 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
我试过了:
而且总是有帮助,但只是一次,下次我再次尝试提交时,我遇到了同样的错误。能否请您帮助我并告诉我,为什么会出现此错误以及如何解决这些错误?
非常感谢!