![无法推送到 SSH Git 远程:远程解包失败](https://linux22.com/image/213154/%E6%97%A0%E6%B3%95%E6%8E%A8%E9%80%81%E5%88%B0%20SSH%20Git%20%E8%BF%9C%E7%A8%8B%EF%BC%9A%E8%BF%9C%E7%A8%8B%E8%A7%A3%E5%8C%85%E5%A4%B1%E8%B4%A5.png)
我正在我的家庭实验室网络上设置一个 Git 存储库。我有 ssh: 为 工作clone
,但我不能push
- 当我git push --set-upstream origin master
收到消息时
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 2 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 524 bytes | 524.00 KiB/s, done.
Total 4 (delta 3), reused 0 (delta 0)
error: remote unpack failed: unable to create temporary object directory
To anubis.local:/var/www/apache24/git/TDD2.git
! [remote rejected] master -> master (unpacker error)
error: failed to push some refs to '[email protected]:/var/www/apache24/git/TDD2.git'
我一直按照以下说明进行操作Git 书籍:服务器上的 Git - 设置服务器但显然我错过了一些东西。谁能告诉我它是什么?我在 FreeBSD 13.1-RELEASE 上使用 git 2.38.0 作为服务器。