19 lines
932 B
Markdown
19 lines
932 B
Markdown
---
|
|
title: git.asio.asia 推送认证失败的处理
|
|
type: experience
|
|
permalink: main/projects/8e229c96-a83b-4a02-ac40-10a0a9da444e/git.asio.asia-推送认证失败的处理
|
|
stable_id: 2189461b-75ae-4a08-b067-eea5740dcbb5
|
|
scope: project
|
|
project_id: 8e229c96-a83b-4a02-ac40-10a0a9da444e
|
|
memory_type: experience
|
|
status: active
|
|
revision: 1
|
|
restored_from_commit: 6a6a895eafcca6052e81a14fca103a42635dd1c2
|
|
created_at: '2026-09-23T15:01:43.693322+00:00'
|
|
updated_at: '2026-09-23T15:01:43.693384+00:00'
|
|
tags:
|
|
- git
|
|
- credentials
|
|
---
|
|
|
|
git.asio.asia 推送若报 “Failed to authenticate user”,是 Git Credential Manager 保存的 OAuth refresh_token 过期。解决:从密码库条目“git.asio.asia nixevol”取密码,用临时 GIT_ASKPASS 脚本 + `git -c credential.helper= -c credential.username=nixevol push` 绕过 GCM 推送,推完删除临时脚本和环境变量。secret_get 的 lookup_key 用条目名而非 item id。 |