Re: Get tree of remote repository using custom ssh library.
- From
- Stef Bon <stefbon@gmail.com>
- Date
- Aug 25, 2021, 06:54 UTC
- Message-ID
- <CANXojcyVGp0aXySZswzFtmWL=q17bP5Zz4Si-Gxb0rgx4TNjAg@mail.gmail.com>
- In-Reply-To
- <YSXY4WoB+Z1aayz4@alpha>
Op wo 25 aug. 2021 om 07:45 schreef Kevin Daudt <me@ikke.info>:
>
Hello Kevin,
Show 9 quoted lines
> > > > Hello Stef, > > Git has no way of knowing what repositories might exist on a > given server. They might live everywhere, and git does not keep track of > what repositories are created on a central location, so there is not > central directory to query. >
Ok.
> Besides that, services like github do not let you remotely browse > repositories over SSH, they only allow you to run git-upload-pack / > git-receive-pack or equivalent to handle the git protocol. >
That is exactly what I want. I know git works with the git-upload-pack and git-receive-pack methods. I think I had to be more precisely. Now my issue is how do I have to call these, with what parameters to achieve the listing of entries? (git_tree and git_tree_entry for example?? I do not know)
Stef