Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
git所说的“是什么意思;无法将对象迁移到永久存储”;使用vscode_Git_Git Push - Fatal编程技术网

git所说的“是什么意思;无法将对象迁移到永久存储”;使用vscode

git所说的“是什么意思;无法将对象迁移到永久存储”;使用vscode,git,git-push,Git,Git Push,我在linux中构建了一个裸repo 当我在windows中使用vscode编写代码并上载linux时,git(2.17.0版)推送xxxx主程序遇到了以下问题: Counting objects: 3, done. Delta compression using up to 16 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 321 bytes | 160.00 KiB/s, done.

我在linux中构建了一个裸repo 当我在windows中使用vscode编写代码并上载linux时,git(2.17.0版)推送xxxx主程序遇到了以下问题:

Counting objects: 3, done.
Delta compression using up to 16 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 321 bytes | 160.00 KiB/s, done.
Total 3 (delta 1), reused 0 (delta 0)
error: unable to write sha1 filename 
./objects/ee/316617d17c8663636d107424531ba42f382f10: Permission denied
To /home/suny/test/git/project/arm
! [remote rejected] master -> master (unable to migrate objects to permanent 
storage)
error: failed to push some refs to '/home/suny/test/git/project/arm'

我在linux和git push xxxx master中编写代码时进行了测试,没有错误

您遇到了文件系统权限错误

这不是git的问题。您使用哪些用户帐户上载和应用更改

如果您使用多个帐户,则需要确保已配置Linux组权限


更多阅读材料:

欢迎来到Stack Overflow。如果您能提供一个逐步重现此错误的示例,您将获得更多帮助。从原始的
git init
git clone
命令开始,并给出您执行的导致此错误消息的所有其他命令。可能重复的是,我建立了一个裸回购,我的grouper和我使用了此命令,但我确信他对我来说是同一个组。因此,请先查看链接~ git需要一些配置才能很好地与组打交道。