Hi,

Try the approach given here: 

http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#recovering-from-repository-corruption

If you're unsure how to proceed, do a git fsck --full and paste the output 
back here.

On Monday, August 27, 2012 5:56:59 AM UTC+2, zhang chao wrote:
>
>  
> hi all
>
>   i got an error from my git repo, i wlll push my code to center, but i 
> got same error for here:
> $ git  push origin zc:zc
> Counting objects: 316, done.
> error: object file .git/objects/00/d2a5741d54116a156e477093c3fcf30b24c6b3 
> is empty
> error: unable to find 00d2a5741d54116a156e477093c3fcf30b24c6b3
> error: object file .git/objects/1b/62dba14055e50a89fe4f01dbb0db854fa2db16 
> is empty
> error: unable to find 1b62dba14055e50a89fe4f01dbb0db854fa2db16
> error: object file .git/objects/35/26a3b36fc6dde775daf854b901c2a3ad9e1641 
> is empty
> error: unable to find 3526a3b36fc6dde775daf854b901c2a3ad9e1641
> error: object file .git/objects/35/c5c9b21dccbcd64d9e7066337ac0b6c69c8e28 
> is empty
> error: unable to find 35c5c9b21dccbcd64d9e7066337ac0b6c69c8e28
> error: object file .git/objects/38/46ddd089dd37860c26979aae4e9de61da2f4d5 
> is empty
> error: unable to find 3846ddd089dd37860c26979aae4e9de61da2f4d5
> error: object file .git/objects/4e/72bcb390b810d1b31a320191f67a81a828c2ba 
> is empty
> error: unable to find 4e72bcb390b810d1b31a320191f67a81a828c2ba
> error: object file .git/objects/64/d930e08f4c40942ed52c0c8d7a9853cc17d3c4 
> is empty
> error: unable to find 64d930e08f4c40942ed52c0c8d7a9853cc17d3c4
> error: object file .git/objects/67/ce133cf5be6565f44a12dbfd6468e07f75a537 
> is empty
> error: unable to find 67ce133cf5be6565f44a12dbfd6468e07f75a537
> error: object file .git/objects/68/54ac3760c0c35ddddbe060fbf33265934bee24 
> is empty
> error: unable to find 6854ac3760c0c35ddddbe060fbf33265934bee24
> error: object file .git/objects/6a/6a541057701ba0b5646ad62917668004995d8a 
> is empty
> error: unable to find 6a6a541057701ba0b5646ad62917668004995d8a
> error: object file .git/objects/6b/74e1accbf204ffa3e19ebeab231b3fa1f10857 
> is empty
> error: unable to find 6b74e1accbf204ffa3e19ebeab231b3fa1f10857
> error: object file .git/objects/6e/eb7622c63b5b7eea101dca67e983182f78400e 
> is empty
> error: unable to find 6eeb7622c63b5b7eea101dca67e983182f78400e
> error: object file .git/objects/74/b0a114d8793fbfda585d4e624358c0d997d436 
> is empty
> error: unable to find 74b0a114d8793fbfda585d4e624358c0d997d436
> error: object file .git/objects/77/11c8943847a74800ebd74a79cc312a8c825de9 
> is empty
> error: unable to find 7711c8943847a74800ebd74a79cc312a8c825de9
> error: object file .git/objects/81/1cc6b965b3094bf30a9fff92ac0aaea753f6fe 
> is empty
> error: unable to find 811cc6b965b3094bf30a9fff92ac0aaea753f6fe
> error: object file .git/objects/85/7b922ffab318f564b379833be561f8b0bd1339 
> is empty
> error: unable to find 857b922ffab318f564b379833be561f8b0bd1339
> error: object file .git/objects/86/a33442048470f808567c46d41441f31bdd3e36 
> is empty
> error: unable to find 86a33442048470f808567c46d41441f31bdd3e36
> error: object file .git/objects/88/24dd742f7047f20dab57556ea216d08a06f8c4 
> is empty
> error: unable to find 8824dd742f7047f20dab57556ea216d08a06f8c4
> error: object file .git/objects/98/fae8437f9ac052164bd511c97e96c1c42d0e3c 
> is empty
> error: unable to find 98fae8437f9ac052164bd511c97e96c1c42d0e3c
> error: object file .git/objects/9e/a996fd26dde4f2176928328a3227332cae599c 
> is empty
> error: unable to find 9ea996fd26dde4f2176928328a3227332cae599c
> error: object file .git/objects/b0/9b1c1e803e812157cb1187c3e615f8aa68f991 
> is empty
> error: unable to find b09b1c1e803e812157cb1187c3e615f8aa68f991
> error: object file .git/objects/bc/804222b22c7966fa6925af2777af48834d24ba 
> is empty
> error: unable to find bc804222b22c7966fa6925af2777af48834d24ba
> error: object file .git/objects/ce/481168ba469ea1b05cd119312cc2c62bc670e1 
> is empty
> error: unable to find ce481168ba469ea1b05cd119312cc2c62bc670e1
> error: object file .git/objects/d0/73eeade657085d1b47aed4f00bff00824d0bef 
> is empty
> error: unable to find d073eeade657085d1b47aed4f00bff00824d0bef
> error: object file .git/objects/db/ee5ba0fcb471594a9d1a6fe244cfcdbd65f159 
> is empty
> error: unable to find dbee5ba0fcb471594a9d1a6fe244cfcdbd65f159
> error: object file .git/objects/dc/1059634e18c10719623c84c833a283047a75f3 
> is empty
> error: unable to find dc1059634e18c10719623c84c833a283047a75f3
> error: object file .git/objects/dc/d7a69b5e3bb4a1c8ced5be0043dc8f661ec08b 
> is empty
> error: unable to find dcd7a69b5e3bb4a1c8ced5be0043dc8f661ec08b
> error: object file .git/objects/ed/757307b01e7f98ee28d702e700a08868c0a6fe 
> is empty
> error: unable to find ed757307b01e7f98ee28d702e700a08868c0a6fe
> error: object file .git/objects/ee/4fc9118d213089e959b1625405c4b835cd4af7 
> is empty
> error: unable to find ee4fc9118d213089e959b1625405c4b835cd4af7
> error: object file .git/objects/f2/21c154ec8c95fac412b167f043782ad1917116 
> is empty
> error: unable to find f221c154ec8c95fac412b167f043782ad1917116
> error: object file .git/objects/f9/db6847a3faa3f8e41fb87368b458cb921fd457 
> is empty
> error: unable to find f9db6847a3faa3f8e41fb87368b458cb921fd457
> Delta compression using up to 4 threads.
> Compressing objects: 100% (203/203), done.
> error: object file .git/objects/00/d2a5741d54116a156e477093c3fcf30b24c6b3 
> is empty
> fatal: loose object 00d2a5741d54116a156e477093c3fcf30b24c6b3 (stored in 
> .git/objects/00/d2a5741d54116a156e477093c3fcf30b24c6b3) is corrupt
> fatal: early EOF
> error: failed to push some refs to 'git@***.**.80.9:abcds.git'
> zc@zc-t410:~/workspace$ 
>
>
> help me , thanks.
>
>
> -------
> # twitter:  @cnpopeye
>
>   

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/xQNvHhIIiHgJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to