Hi Sridhar!
> 23 окт. 2020 г., в 16:09, Sridhar N Bamandlapally <sridhar.bn1@gmail.com> написал(а):
>
> Am trying to clone postgresql git, getting error
>
> D:\sridhar>git clone https://git.postgresql.org/git/postgresql.git
> Cloning into 'postgresql'...
> remote: Enumerating objects: 806507, done.
> remote: Counting objects: 100% (806507/806507), done.
> remote: Compressing objects: 100% (122861/122861), done.
> error: RPC failed; curl 18 transfer closed with 3265264 bytes remaining to read
> fatal: the remote end hung up unexpectedly
> fatal: early EOF
> fatal: index-pack failed
It seems like your internet connection is not stable enough.
As an alternative you can try to clone https://github.com/postgres/postgres
It's synced with official repository you mentioned and allows you to have your fork for personal branches.
Thanks!
Best regards, Andrey Borodin.