【问题标题】:What does git mean by “unable to migrate objects to permanent storage” with vscodegit用vscode“无法将对象迁移到永久存储”是什么意思
【发布时间】:2019-02-04 21:41:32
【问题描述】:

我在 linux 中构建了一个裸仓库 当我在windows中使用vscode编写代码,然后上传linux然后git(2.17.0版)push 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 git-push


【解决方案1】:

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

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

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

更多阅读资料:https://serverfault.com/questions/26954/how-do-i-share-a-git-repository-with-multiple-users-on-a-machine

【讨论】:

  • 是的,我建立了一个裸仓库,我的石斑鱼和我使用它,但我确定他与我是同一组。所以先看链接吧~
  • git 需要一些配置才能很好地与组配合使用。
猜你喜欢
  • 2017-07-02
  • 2020-06-18
  • 2021-09-14
  • 1970-01-01
  • 1970-01-01
  • 2018-04-03
  • 2014-04-28
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多