git
  • 安装教程
  • 本地仓库
    • 工作区与版本库
    • 版本管理
      • 创建版本库
      • 提交修改
      • 撤消修改
      • 删除文件
    • 分支管理
      • 创建分支
      • 合并分支
      • 删除分支
    • 标签管理
      • 创建标签
      • 删除标签
  • 远程仓库
    • 初始化远程库
    • 克隆远程库
    • 多人协作
    • 远程分支
    • 远程标签
    • 关于origin
    • 关于upstream
  • 关于config
    • 关于name与email
    • window上的凭证
  • git常用命令
  • github的使用
  • 容器跑gogs
  • 项目版本管理
    • GitFlow
Powered by GitBook
On this page

Was this helpful?

  1. 关于config

window上的凭证

Previous关于name与emailNextgit常用命令

Last updated 5 years ago

Was this helpful?

在window上,我们git clone一个代码仓库时,报如下的错误

$ git clone http://10.142.233.181:8989/ctg-dcos/k8sdeploy
Cloning into 'k8sdeploy'...
fatal: Authentication failed for 'http://10.142.233.181:8989/ctg-dcos/k8sdeploy/'

原因是以前登录过这个地址,后来这个gogs仓库的密码修改了。

解决方法如下:

https://blog.csdn.net/qq_34665539/article/details/80408282?tdsourcetag=s_pctim_aiomsg