gitftp
gitftp copied to clipboard
Howto browse a remote git server (like github)?
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
thanks for the good example of browsing a git repository. Your code is about browsing a repository which is available local.
Just to be clear -- gitftp allows you to browse a repository remotely over FTP. However the gitftp server process must run on the machine containing the source code.
My problem is howto browse a remote repository (and nothing of that repository is available locally) using only the host and the username.
Can you run gitftp on the host that holds the source code? Or can you mount the source code in a filesystem like SSHFS on the machine running gitftp?
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