2015-10-29 88 views
0

當試圖git pull,我收到如下:混帳的fsck --full不工作

remote: fatal: object f72e5435f64db2f7565773548c94ab6779fb96a6 is corrupted 
error: git upload-pack: git-pack-objects died with error. 
fatal: git upload-pack: aborting due to possible repository corruption on the remote side. 
remote: aborting due to possible repository corruption on the remote side. 
fatal: protocol error: bad pack header 

因爲我已經試過如下:

$ git fsck --full 2e9920dc5a23c ; git repack 
fatal: object 2e9920dc5a23cc2afff46348642398f6d9f6f47e is corrupted 
fatal: object f72e5435f64db2f7565773548c94ab6779fb96a6 is corrupted 

$ git fsck --full 
fatal: object 2e9920dc5a23cc2afff46348642398f6d9f6f47e is corrupted 

任何想法,請就如何解決腐敗? (如果有幫助,這是在Linux OELv6上)。

謝謝。

回答

0

解決它自己,原來這是一個文件所有權問題。冉「chown -R git *」從正確的位置,現在它的所有工作...