0
當我嘗試我的回購推送到安裝Windows共享,我得到了以下錯誤消息:git的錯誤「未能推一些裁判爲」當訪問Windows共享
git push
Counting objects: 47, done.
Compressing objects: 100% (15/15), done.
Writing objects: 100% (25/25), 508.09 KiB | 88 KiB/s, done.
Total 25 (delta 18), reused 13 (delta 7)
fatal: error when closing sha1 file: Host is down
error: unpack failed: unpack-objects abnormal exit
To /dir/
! [remote rejected] master -> master (n/a (unpacker error))
error: failed to push some refs to /dir/
我嘗試了很多東西我在其他崗位找到,但他們並沒有爲我工作:
git gc
git repack
git config --add core.sharedRepository group
我也改了文件權限:
-rwxrwxrwx 0 marc marc 156 Sep 30 14:51 config
-rwxrwxrwx 0 marc marc 73 Apr 20 2012 description
-rwxrwxrwx 0 marc marc 23 Apr 20 2012 HEAD
drwxrwxrwx 0 marc marc 0 Apr 20 2012 hooks
drwxrwxrwx 0 marc marc 0 Apr 20 2012 info
drwxrwxrwx 0 marc marc 0 Sep 24 16:26 objects
drwxrwxrwx 0 marc marc 0 Apr 20 2012 refs
,並且驅動器上還有足夠的空間。
要固定錯誤:你試圖推送到另一個本地文件夾(這不是遠程安裝)?那樣有用嗎?如果這種方式有效且問題(可能)與掛載的共享相關,請更詳細地描述共享。 – mnagel