Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Howto browse a remote git server (like github)? #15

Open
stefbon opened this issue Aug 23, 2021 · 2 comments
Open

Howto browse a remote git server (like github)? #15

stefbon opened this issue Aug 23, 2021 · 2 comments

Comments

@stefbon
Copy link

stefbon commented Aug 23, 2021

Hi,

thanks for the good example of browsing a git repository.
Your code is about browsing a repository which is available local.
My problem is howto browse a remote repository (and nothing of that repository is available locally) using only
the host and the username. The ssh connection to the remote host is already present. I've posted a question about this on the
git maillist:

https://marc.info/?l=git&m=162965805414651&w=2

Maybe you do have a hint for me to get get git entries (name, type) per repository.
Thanks anyway,

Stef Bon
the Netherlands

@begriffs
Copy link
Owner

begriffs commented Aug 23, 2021 via email

@stefbon
Copy link
Author

stefbon commented Aug 30, 2021

Hi,

No I cannot run gitftp on the remote host. To be honest, my question is not about gitftp. I'm looking for a way to get git dentries from a remote host, while a ssh connection is already available. To get data from remote git repo, according to:

https://git-scm.com/book/en/v2/Git-Internals-Transfer-Protocols

it's all about executing the git-upload-pack command with the right parameters. What parameters, that's the question.

Thanks and sorrty for the confusion.

Stef

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants