On Tue, 14 Dec 2021 at 15:40, Martin Liška <mli...@suse.cz> wrote: > > On 12/13/21 21:58, Joseph Myers wrote: > > There is a repository (/home/gccadmin/hooks-bin/.git), it's just not a > > bare one (so not suitable for pushing to) and not public (but anyone in > > the gcc group should be able to clone it, read-only, over ssh). > > All right, I would be happy at least with that. So I tried: > > $ scp -r mar...@gcc.gnu.org:/home/gccadmin/hooks-bin.git .
That should be hooks-bin/.git not hooks-bin.git And you probably want to copy the hooks-bin directory, not just its .git, don't you? This works for me: git clone gcc.gnu.org:/home/gccadmin/hooks-bin (I don't need to specify my user name because it's in my .ssh/config, but use mar...@gcc.gnu.org if needed) > > But it didn't copy any files (no output). > > Can please anybody add me to gcc group? You're already in that group.