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

Question: Is it possible to host a writable git repo over both http and ssh?

From
Mike Gaffney <mr.gaffo@gmail.com>
Date
Mar 25, 2009, 17:29 UTC
Message-ID
<49CA6A17.6050903@gmail.com>

I am trying to setup a git repo internally at my work. I would like to make the repo accessable via https for both read and write so that we may access it from customer locations which don't allow anything but https. I would also like to host it via SSH because that protocol is much faster. I know that when you push with http it runs 'git update-server-info', would I have to make the ssh pushes do the same? Will this even work?

Thanks, 
    Mike Gaffney
Next: Jeff King
Message 1 of 9 in “Question: Is it possible to host a writable git repo over both http and ssh?”
  1. Mike GaffneyMar 25, 2009
  2. Jeff KingMar 26, 2009
  3. Mike GaffneyMar 26, 2009
  4. Jeff KingMar 26, 2009
  5. Mike GaffneyMar 26, 2009
  6. Jeff KingMar 26, 2009
  7. Robin RosenbergMar 26, 2009
  8. Rogan DawesMar 26, 2009
  9. Shawn O. PearceMar 26, 2009

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.