Anonymous read-only Git access
Thu Mar 5 09:14:00 GMT 2020
On Thu, 5 Mar 2020 at 05:50, firstname.lastname@example.org <email@example.com> wrote:
> 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?
> Beenle Yi
More information about the Gcc-help