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

Re: [PATCH] Mention that password could be a personal access token.

From
M Hickford <mirth.hickford@gmail.com>
Date
Nov 1, 2022, 03:54 UTC
Message-ID
<CAGJzqs=PovTFeVFJAT1HLcKQxHdRjozUACh3Z-x8ih6yuYSb7w@mail.gmail.com>
In-Reply-To
<xmqqk04lmagy.fsf@gitster.g>
On Thu, 27 Oct 2022 at 18:40, Junio C Hamano <gitster@pobox.com> wrote:
> Also, I wonder if the specific "it can be access token and not
> password" is something worth adding.

Personal access tokens are ubiquitous nowadays, maybe even more common than passwords since GitHub disabled passwords last year. I wanted to acknowledge this in the docs, even if Git's own behaviour hasn't changed. Maybe the introduction to https://git-scm.com/docs/gitcredentials would be a better place to do that?

     Git will sometimes need credentials from the user in order to
perform operations; for example, it may need to ask for a username and
password in order to access a remote repository over HTTP. **The
server may accept or expect a personal access token instead of a
password.**
[1] https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/
Previous: Junio C HamanoNext: Ævar Arnfjörð Bjarmason
Message 5 of 15 in “Mention that password could be a personal access token.”
  1. Mention that password could be a personal access token.M Hickford via GitGitGadget, Oct 27, 2022
  2. Junio C HamanoOct 27, 2022
  3. Jeff KingOct 27, 2022
  4. Junio C HamanoOct 27, 2022
  5. M HickfordNov 1, 2022
  6. Ævar Arnfjörð BjarmasonNov 1, 2022
  7. M HickfordNov 1, 2022
  8. Mention that password could be a personal access token.M Hickford via GitGitGadget, Nov 2, 2022
  9. Eric SunshineNov 2, 2022
  10. Junio C HamanoNov 2, 2022
  11. Eric SunshineNov 2, 2022
  12. Philip OakleyNov 2, 2022
  13. M HickfordNov 8, 2022
  14. Mention that password could be a personal access token.M Hickford via GitGitGadget, Nov 8, 2022
  15. Taylor BlauNov 8, 2022

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.