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

[Improvement] Separate protocol and path in gitmodules

From
BRBenedek Rácz <betontalpfa@gmail.com>
Date
Nov 7, 2019, 13:52 UTC
Message-ID
<CAAMvNNQyzMwAhizT-vBpbwfzAAHS6Ycx2tCLZ_eND3SK8WdTGg@mail.gmail.com>
Hi All,

**The issue** My problem is based on this post: https://stackoverflow.com/q/40841882/2506522

**Use-case:** Git can be used with SSH or with HTTP. The usage of SSH is easier, due to automatic authentication (ssh-key). But I have to use git from a public PC, where I mustn't store my ssh-keys. On that PC I want to use https's user/password authentication.

**Suggestion** The root-cause of this issue is that the protocol (SSH or HTTP) and the path of the remote repository is stored together (in the .gitmodules file). If they were stored separately I would choose the protocol easily.

Benedek
Next: brian m. carlson
Message 1 of 2 in “[Improvement] Separate protocol and path in gitmodules”
  1. Benedek RáczNov 7, 2019
  2. brian m. carlsonNov 8, 2019

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.