Re: With git+ssh deprecated, how can multiple git identities be managed?
- From
- ParetoOptimalDev <pareto.optimal@mailfence.com>
- Date
- Apr 26, 2023, 06:38 UTC
- Message-ID
- <878refrvuv.fsf@mailfence.com>
- In-Reply-To
- <CA+JQ7M-jjzWFg-fV=zm1TLPibFZZyRz4-uojyUa9vwjRcf47Sw@mail.gmail.com>
Erik Cervin Edin <erik@cervined.in> writes:
Show 12 quoted lines
> On Wed, Apr 26, 2023 at 8:11 AM ParetoOptimalDev > <pareto.optimal@mailfence.com> wrote: >> >> Then I could use it like `git clone >> git+ssh://paretooptimal-work/some-work/codebase.git` or >> `git+ssh://paretooptimal-personal/some-personal/codebase.git` >> respectively. > > Maybe I can't see the forest for the trees but why can't you use > ssh://paretooptimal-work/some-work/codebase.git > ssh://paretooptimal-personal/some-personal/codebase.git > instead?
Wow... yes I just cloned a repo with just `ssh://` rather than `git+ssh://` and it works perfectly fine.
I simply didn't know that `ssh://` could be used and mistook deprecation of `git+ssh` as deprecation of git integration with the ssh protocol.
Thank you!