git 凭据缓存不可用;没有 unix 套接字支持”警告

PS D:\ProjectGDI\Idevar\apply> git pull origin master fatal: credential-cache unavailable; no unix socket support From https://gitee.com/null_010_4676/apply * branch master -> FETCH_HEAD Already up to date.

PS D:\ProjectGDI\Idevar\apply> git push origin master fatal: credential-cache unavailable; no unix socket support Enumerating objects: 25, done. Counting objects: 100% (25/25), done. Delta compression using up to 16 threads Compressing objects: 100% (12/12), done. Writing objects: 100% (13/13), 1.48 KiB | 756.00 KiB/s, done. Total 13 (delta 9), reused 0 (delta 0), pack-reused 0 remote: Powered by GITEE.COM [1.1.0] remote: Set trace flag 2448a687 To https://gitee.com/null_010_4676/apply.git a8644b1f..ef2043ec master -> master PS 方法 1:在

方法 1:在 Windows 上切换到凭据管理器

Set the credential helper to the Credential Manager on Windows

:git config --global credential.helper manager

方法 2:使用 Git Credential Manager Core

如果您不在 Windows 上,您可以尝试使用 Git Credential Manager Core:

  1. 从GitHub 版本下载最新版本的 Git Credential Manager Core 。

  2. 安装 Git 凭据管理器核心。

  3. 配置 Git 以使用 GCM Core**:git config --global credential.helper manager-core**

方法 3:禁用凭证缓存

如果您不想使用凭证缓存,可以禁用它:

Disable credential caching

:git config --global --unset credential.helper

方法 4:HTTPS 代替 SSH (Windows)

如果您使用 SSH 并遇到问题,请考虑切换到 HTTPS:

Update the remote URL to use HTTPS

:git remote set-url origin https://gitee.com/null_010_4676/apply.git

相关推荐
眯眼因为很困啦21 小时前
GitHub Fork 协作完整流程
前端·git·前端工程化
musenh1 天前
redis和jedis
数据库·redis·缓存
AlexDeng1 天前
Git 中模糊搜索分支名称并创建本地跟踪分支
git
brave_zhao1 天前
javaFx清空缓存动画特效
缓存
廋到被风吹走1 天前
【Spring】IoC容器深度解析:Bean生命周期与循环依赖三级缓存
java·spring·缓存
Knight_AL1 天前
Redis ZSet 实现排行榜(支持分数相同按时间顺序排序)
数据库·redis·缓存
冰冰菜的扣jio1 天前
入门redis——让你的查询快到起飞
数据库·redis·缓存
jxm_csdn1 天前
递归工程工厂:Claude Code + Git Worktrees + Tilix/Tmux 的“AI分身”编码团队
人工智能·git
码咔吧咔1 天前
Git 中 pull.rebase = true 的作用与设置方法详解
git
论迹1 天前
【Redis】-- key的过期策略
数据库·redis·缓存