git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Exporting a git repository via FTP

From
Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Date
Feb 14, 2007, 13:36 UTC
Message-ID
<8b65902a0702140536v4a1cb1d0u3d3549e542aade2@mail.gmail.com>
Hi,
I'm currently looking for the _simplest_ way to share a Git repo on my
HomePage (offered by my ISP). My configuration is:
- a raw HTTP server (no way to have any WebDav features);
- a simple FTP for upload.

Following the documentation, I first used a local directory mirrored on the server (with the sitecopy tool). It worked, but needs disk space (and is not funny :-))

So, I tried a direct git-push over ftp URL (as Curl knows FTP download and upload). But it failed because FTP is not supported in push operations.

So, I tried curlftpfs: setting up a local mount point connected to my remote directory. It worked... sometimes. But it freeze really often.

So... I ask the Git community :-) Is there any hope to see a git-ftp-push command one day? Reading the http-push.c file, it seems that the most problematic part is that FTP does not allow LOCKs. But, in my case, LOCKs are not necessary as I'm the only one user to update my remote repo. No chance for conflicting updates. Anybody working on such thing?

-- 
Guilhem BONNEFILLE
-=- #UIN: 15146515 JID: guyou@im.apinc.org MSN: guilhem_bonnefille@hotmail.com
-=- mailto:guilhem.bonnefille@gmail.com
-=- http://nathguil.free.fr/
Message 1 of 1 in “Exporting a git repository via FTP”
  1. Guilhem BonnefilleFeb 14, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.