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

Re: git and "dumb protocols"

From
Petr Baudis <pasky@suse.cz>
Date
Nov 2, 2006, 10:48 UTC
Message-ID
<20061102104848.GH20017@pasky.or.cz>
In-Reply-To
<vpqu01i16g8.fsf@ecrins.imag.fr>
  Hi,

Dear diary, on Thu, Nov 02, 2006 at 11:36:07AM CET, I got a letter where Matthieu Moy <Matthieu.Moy@imag.fr> said that...

> Is it possible with git to push to a server on which git is not
> installed, and if so, how?
  yes, you can push using HTTP DAV - just push to an HTTP URL; make sure
you have git-http-push compiled, it is sometimes not compiled because it
unfortunately adds dependencies on couple of more libraries.
  Beware that this is inherently not safe for anonymous push access,
since malicious client with write access can destroy the repository. You
will want to protect write access to the repository by .htaccess file.
  I think a patch that would add support for pushing over sftp or some
other dumb protocol would be welcome. One problem is with proper locking
of ref updates (not sure how well would sftp cope with that), another is
that you will need to do git-update-server-info's job on the server
side.
  If you already have SSH access to the server, why not compile Git
there and install it to your $HOME, though?
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
Previous: Andy WhitcroftNext: Johannes Schindelin
Message 3 of 10 in “git and "dumb protocols"”
  1. Matthieu MoyNov 2, 2006
  2. Andy WhitcroftNov 2, 2006
  3. Petr BaudisNov 2, 2006
  4. Johannes SchindelinNov 2, 2006
  5. Petr BaudisNov 2, 2006
  6. Matthieu MoyNov 2, 2006
  7. Jakub NarebskiNov 2, 2006
  8. Petr BaudisNov 2, 2006
  9. Daniel BarkalowNov 3, 2006
  10. Johannes SchindelinNov 2, 2006

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.