Anonymous read-only Git access

Jonathan Wakely jwakely.gcc@gmail.com
Thu Mar 5 09:14:00 GMT 2020


On Thu, 5 Mar 2020 at 05:50, yilu@bupt.edu.cn <yilu@bupt.edu.cn> wrote:
>
> Hi,everyone
> I want to get the GCC-10 source and I followed the instructions in https://gcc.gnu.org/git.html, however, the command
> git clone git://gcc.gnu.org/git/gcc.git SomeLocalDir
> cannot work.

It works for me, both with authentication and anonymously, and from
machines in the UK and Canada.

What error do you get?


> And I found I cannot connect https://gcc.gnu.org/git/gcc.git even without firewall(I'm in China). I got a 403 Forbidden
>  "You don't have permission to access /git/gcc.git/ on this server."
>  "Apache Server at gcc.gnu.org Port 443".

That's expected if you try to connect to that URL using a browser. I'm
not sure whether cloning over HTTPS is expected to work.

You can browse the sources via https://gcc.gnu.org/git/?p=gcc.git instead.

> What can I do in this situation?
> Thanks.
>
>
> Beenle Yi
> yilu@bupt.edu.cn



More information about the Gcc-help mailing list