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

相关推荐
万象.1 小时前
redis持久化:AOF和RDB
数据库·redis·缓存
cheungxiongwei.com1 小时前
深入解析 DNS 缓存与 TTL:工作原理、修改生效机制与优化策略
缓存
!chen2 小时前
Redis快速实现布隆过滤器
数据库·redis·缓存
无限进步_2 小时前
面试题 02.02. 返回倒数第 k 个节点 - 题解与详细分析
c语言·开发语言·数据结构·git·链表·github·visual studio
2401_859049082 小时前
git submodule update --init --recursive无法拉取解决
前端·chrome·git
xxxmine3 小时前
Redis 持久化详解:RDB、AOF 与混合模式
数据库·redis·缓存
what丶k4 小时前
SpringBoot3 缓存抽象深度实践:Caffeine+Redis多级缓存,穿透/雪崩/击穿防御全方案
数据库·redis·缓存
咖啡の猫4 小时前
Redis简单介绍
数据库·redis·缓存
爱吃大芒果4 小时前
Flutter for OpenHarmony 实战: mango_shop 购物车模块的状态同步与本地缓存处理
flutter·缓存·dart
源代码•宸5 小时前
Redis 攻略(Redis Object)
数据库·redis·后端·缓存·字符串·哈希表·type