Git clone over git protocol fails
| От | Gurjeet Singh |
|---|---|
| Тема | Git clone over git protocol fails |
| Дата | |
| Msg-id | CABwTF4WMiMb-KT2NRcib5W0C8TQF6URMb+HK9a_=rnZnY8Q42w@mail.gmail.com обсуждение исходный текст |
| Ответы |
Re: Git clone over git protocol fails
|
| Список | pgsql-hackers |
I'm not sure if it's expected because of some recent infrastructure changes, but cloning Postgres repo with the following commands fails.
# Using command from Postgres docs at
# https://www.postgresql.org/docs/current/git.html
# https://www.postgresql.org/docs/current/git.html
$ git clone git://git.postgresql.org/git/postgresql.git
Cloning into 'postgresql'...
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Cloning into 'postgresql'...
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
# Removing the /git/ part, to match ssh protocol url on
# https://git.postgresql.org/gitweb/?p=postgresql.git;a=summary
# https://git.postgresql.org/gitweb/?p=postgresql.git;a=summary
$ git clone git://git.postgresql.org/postgresql.git
Cloning into 'postgresql'...
fatal: remote error: access denied or repository not exported: /postgresql.git
Cloning into 'postgresql'...
fatal: remote error: access denied or repository not exported: /postgresql.git
# Using the ssh protocol url from
# https://git.postgresql.org/gitweb/?p=postgresql.git;a=summary
# https://git.postgresql.org/gitweb/?p=postgresql.git;a=summary
$ git clone ssh://git@git.postgresql.org/postgresql.git
Cloning into 'postgresql'...
Permission denied on repository for user gurjeet
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Cloning into 'postgresql'...
Permission denied on repository for user gurjeet
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
# Using the https protocol works
$ git clone https://git.postgresql.org/git/postgresql.git
Cloning into 'postgresql'...
remote: Enumerating objects: 1081430, done.
Cloning into 'postgresql'...
remote: Enumerating objects: 1081430, done.
...
The docs page mentioned in the first command needs to be fixed for sure.
Best regards,
Gurjeet
В списке pgsql-hackers по дате отправления: