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

相关推荐
陌上丨7 小时前
Redis的Key和Value的设计原则有哪些?
数据库·redis·缓存
李少兄9 小时前
在 IntelliJ IDEA 中修改 Git 远程仓库地址
java·git·intellij-idea
时艰.10 小时前
Java 并发编程 — 并发容器 + CPU 缓存 + Disruptor
java·开发语言·缓存
yuanmenghao12 小时前
Linux 性能实战 | 第 7 篇 CPU 核心负载与调度器概念
linux·网络·性能优化·unix
惊讶的猫12 小时前
Redis持久化介绍
数据库·redis·缓存
生产队队长14 小时前
Redis:Windows环境安装Redis,并将 Redis 进程注册为服务
数据库·redis·缓存
先跑起来再说14 小时前
Git 入门到实战:一篇搞懂安装、命令、远程仓库与 IDEA 集成
ide·git·后端·elasticsearch·golang·intellij-idea
清风拂山岗 明月照大江17 小时前
Redis笔记汇总
java·redis·缓存
承渊政道18 小时前
Linux系统学习【Linux系统的进度条实现、版本控制器git和调试器gdb介绍】
linux·开发语言·笔记·git·学习·gitee
Doro再努力18 小时前
【Linux操作系统12】Git版本控制与GDB调试:从入门到实践
linux·运维·服务器·git·vim