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

Re: Fw: [git-users] How do I git-push to an FTP server?

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Oct 7, 2012, 15:28 UTC
Message-ID
<CALkWK0kXH-U0mTeFtiMq7tqCOpNJT1A7Z==GxOphe-sGdmxRRg@mail.gmail.com>
In-Reply-To
<7vwqz4si87.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 23 quoted lines
> Thomas Ferris Nicolaisen <tfnico@gmail.com> writes:
>
>> On Fri, Oct 5, 2012 at 3:46 PM, Philippe Vaucher
>> <philippe.vaucher@gmail.com> wrote:
>>>
>>> > On the git-users mailing list we're trying someone to help with
>>> > running `git push` over FTP.  That person is runnig Git 1.7.9.5
>>> > on Ubuntu 12.04.
>>>
>>> I don't think vanilla git supports pushing over ftp.
>>>
>>
>> At least according to the documentation[1], "Git natively supports [...] ftp".
>>
>> This could need some clarification if pushing over ftp is not supported.
>
> The commit 5ce4f4e (Documentation/urls: Rewrite to accomodate
> <transport>::<address>, 2010-04-06) that came from
>
>   http://thread.gmane.org/gmane.comp.version-control.git/145196/focus=145205
>
> was supposed to be just a clarification of the document, but it
> added ftp to the list without justification.
Hm, my bad.  Would this fix the problem?
-- 8< --
From: Ramkumar Ramachandra <artagnon@gmail.com>
Date: Sun, 7 Oct 2012 20:57:15 +0530
Subject: [PATCH] Documentation/urls: git does not natively support ftp

5ce4f4e (Documentation/urls: Rewrite to accomodate <transport>::<address>, 2010-04-06) added ftp[s] to the list of supported protocols without justification. Fix this.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
 Documentation/urls.txt | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Documentation/urls.txt b/Documentation/urls.txt
index 2890194..a65e894 100644
--- a/Documentation/urls.txt
+++ b/Documentation/urls.txt
@@ -6,13 +6,12 @@ address of the remote server, and the path to the repository.
 Depending on the transport protocol, some of this information may be
 absent.

-Git natively supports ssh, git, http, https, ftp, ftps, and rsync
-protocols. The following syntaxes may be used with them:
+Git natively supports ssh, git, http, https, and rsync protocols. The
+following syntaxes may be used with them:

 - ssh://{startsb}user@{endsb}host.xz{startsb}:port{endsb}/path/to/repo.git/
 - git://host.xz{startsb}:port{endsb}/path/to/repo.git/
 - http{startsb}s{endsb}://host.xz{startsb}:port{endsb}/path/to/repo.git/
-- ftp{startsb}s{endsb}://host.xz{startsb}:port{endsb}/path/to/repo.git/
 - rsync://host.xz/path/to/repo.git/

 An alternative scp-like syntax may also be used with the ssh protocol:
-- 
1.7.12.1.428.g652398a.dirty
Previous: Junio C HamanoNext: Jonathan Nieder
Message 6 of 14 in “Fw: How do I git-push to an FTP server?”
  1. Konstantin KhomoutovOct 5, 2012
  2. Philippe VaucherOct 5, 2012
  3. Thomas Ferris NicolaisenOct 5, 2012
  4. Konstantin KhomoutovOct 5, 2012
  5. Junio C HamanoOct 5, 2012
  6. Ramkumar RamachandraOct 7, 2012
  7. Jonathan NiederOct 7, 2012
  8. Junio C HamanoOct 7, 2012
  9. Ramkumar RamachandraOct 8, 2012
  10. Jonathan NiederOct 8, 2012
  11. Junio C HamanoOct 8, 2012
  12. Junio C HamanoOct 8, 2012
  13. Jonathan NiederOct 8, 2012
  14. Junio C HamanoOct 8, 2012

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.