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 凭据缓存不可没有 unix 支持警告

    2024-02-02 06:56:02       29 阅读
  2. C语言UNIXCS模型

    2024-02-02 06:56:02       19 阅读
  3. Qt中实现域(Unix通信

    2024-02-02 06:56:02       21 阅读
  4. 嵌入式学习——3——域UNIX

    2024-02-02 06:56:02       9 阅读
  5. tcp和udp可以共一个端口吗?

    2024-02-02 06:56:02       10 阅读
  6. tcp和udp可以共一个端口吗?

    2024-02-02 06:56:02       12 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-02-02 06:56:02       19 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-02-02 06:56:02       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-02-02 06:56:02       19 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-02-02 06:56:02       20 阅读

热门阅读

  1. 【lesson33】MySQL使用C/C++连接

    2024-02-02 06:56:02       27 阅读
  2. 第2章 Linux 中执行命令

    2024-02-02 06:56:02       30 阅读
  3. iOS自动打包如何用Python实现

    2024-02-02 06:56:02       26 阅读
  4. Leetcode 《面试经典150题》169. 多数元素

    2024-02-02 06:56:02       28 阅读
  5. WPF 中 Loaded 和 Closing 窗口事件

    2024-02-02 06:56:02       30 阅读
  6. opencv学习 机器学习

    2024-02-02 06:56:02       34 阅读
  7. Android Build 依赖项

    2024-02-02 06:56:02       26 阅读
  8. 什么是IDE,新手改如何选择IDE?

    2024-02-02 06:56:02       28 阅读