git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Improvement] Separate protocol and path in gitmodules
@ 2019-11-07 13:52 Benedek Rácz
  2019-11-08  1:45 ` brian m. carlson
  0 siblings, 1 reply; 2+ messages in thread
From: Benedek Rácz @ 2019-11-07 13:52 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-08  1:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-07 13:52 [Improvement] Separate protocol and path in gitmodules Benedek Rácz
2019-11-08  1:45 ` brian m. carlson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).