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 小时前
常用的git命令
git
空中湖3 小时前
免费在线PUA测试工具:识别情感操控,守护情感健康
git·测试工具
W说编程5 小时前
《UNIX网络编程卷1:套接字联网API》第4章 基本TCP套接字编程
c语言·网络·网络协议·tcp/ip·架构·unix·tcp
程序员小续6 小时前
git rebase 和git merge使用及区别
前端·git·后端
背影疾风8 小时前
Git版本管理系列:(一)使用Git管理单分支
大数据·开发语言·c++·git·学习·elasticsearch
彷徨而立8 小时前
【Git】git revert 或 git stash 或 git restore 都无法正常恢复库文件
git
2301_767233228 小时前
redis中的hash
数据库·redis·缓存·golang·go·哈希算法
HelloDam9 小时前
Git 小白入门教程
git
老攀呀10 小时前
Git 仓库在内网与 Gitee 间迁移及同步记录
git·gitee
04Koi.10 小时前
Redis进阶--主从复制
数据库·redis·缓存