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

Clarification on the git+ssh and ssh+git schemes

From
Carlos Martín Nieto <cmn@dwim.me>
Date
Feb 5, 2016, 17:33 UTC
Message-ID
<62DF0D5B-83DF-465D-9786-A4E7DA97F2BA@dwim.me>
Hello gits,
git supports using git+ssh:// and ssh+git:// instead of ssh:// or the rsync-style format. The first two are however not documented in the git-clone manage as acceptable protocols (which is what I think of as the canonical source for what you can use). There are tests to make sure these are supported, but even the commit that allows for this (c05186cc; Support git+ssh:// and ssh+git:// URL) makes it pretty clear it’s not something that’s considered sensible.
But in either case, if we’re going to support it, it should be documented. If we don’t want to support it, then we should delete the references to these formats along with the tests for this.
I’m happy to write a patch going in either direction, but I’d like some input from the community as to what we want to do.
Cheers,
   cmn
Next: Jeff King
Message 1 of 5 in “Clarification on the git+ssh and ssh+git schemes”
  1. Carlos Martín NietoFeb 5, 2016
  2. Jeff KingFeb 5, 2016
  3. Linus TorvaldsFeb 5, 2016
  4. Junio C HamanoFeb 5, 2016
  5. Carlos Martín NietoFeb 5, 2016

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.