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

Re: Quick login of git

From
EEErik Cervin Edin <erik@cervined.in>
Date
Dec 28, 2021, 17:15 UTC
Message-ID
<CA+JQ7M94QXWbFnJfzewqecvETmJC9fVkFAb-+RHFuswj=FdnpA@mail.gmail.com>
In-Reply-To
<000801d7fb5b$12ec49f0$38c4ddd0$@nexbridge.com>
> On December 27, 2021 11:07 AM zhiyiren2009-subscription wrote:
> Why not add a quick login method like VSCode and CLion in git? Login
> to
> GitHub/ GitLab with one click, without privete key.

I believe you're referring to this? https://code.visualstudio.com/docs/editor/github#_authenticating-with-an-existing-repository

This is using PATs, so the same authentication can be used in CLI.

I recall seeing a github login window when I was playing around with https authentication in Git for Windows. Not sure what happens if you login through that as I quit that window. I believe the default credential helper already saves username/password for https remotes.

It should be noted that many prefer to authenticate using ssh-keys but ssh isn't viable for all remotes/environments :/

Previous: zhiyiren2009-subscriptionNext: brian m. carlson
Message 9 of 10 in “Quick login of git”
  1. zhiyiren2009-subscriptionDec 27, 2021
  2. rsbecker@nexbridge.comDec 27, 2021
  3. zhiyiren2009-subscriptionDec 27, 2021
  4. rsbecker@nexbridge.comDec 27, 2021
  5. zhiyiren2009-subscriptionDec 27, 2021
  6. rsbecker@nexbridge.comDec 27, 2021
  7. zhiyiren2009-subscriptionDec 28, 2021
  8. zhiyiren2009-subscriptionDec 28, 2021
  9. Erik Cervin EdinDec 28, 2021
  10. brian m. carlsonDec 28, 2021

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.