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

git credentials store: removed line when token expired

From
SISergey Ivanov <icegood1980@gmail.com>
Date
Dec 9, 2024, 16:03 UTC
Message-ID
<CAJCbrz5_8nCWSsb2PYGmQoYDKE2vH5kURx9ePabPjosbJsMH_g@mail.gmail.com>
see attached
-- 
Kind regards,
Sergey Ivanov


Thank you for filling out a Git bug report!
Please answer the following questions to help us understand your issue.

What did you do before the bug happened? (Steps to reproduce your issue)
1) My remote token to git repo was expired
2) I have git config --global credential.helper
store
and had line with given url added here
What did you expect to happen? (Expected behavior)
Git will say that token is not working
and will NOT touch credentials file.

What happened instead? (Actual behavior)
Git removes whole urk from git-credentials
and says 'not token'

What's different between what you expected and what actually happened?
I want manually change token only, noe whole URK format of which i
constantly forgetting

Anything else you want to add:

Please review the rest of the bug report below.
You can delete any lines you don't wish to share.


[System Info]
git version:
git version 2.34.1
cpu: x86_64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
uname: Linux 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov  6 17:42:15 UTC 2 x86_64
compiler info: gnuc: 11.4
libc info: glibc: 2.35
$SHELL (typically, interactive shell): /bin/bash


[Enabled Hooks]
pre-auto-gc
Next: brian m. carlson
Message 1 of 2 in “git credentials store: removed line when token expired”
  1. Sergey IvanovDec 9, 2024
  2. brian m. carlsonDec 10, 2024

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.