📄Git HTTPS密码登录的问题
2023-3-16
| 2023-4-10
0  |  0 分钟
type
status
date
slug
summary
tags
category
icon
password

Git HTTPS密码登录的问题

  • 现象: Git地址配置的是https,修改密码后总是提示fatal: could not read Username for ‘https://gitlabcode.xx.com.cn’: No such device or address,手动输入用户名和密码可以正常登录
  • 尝试的解决办法:git config --global credential.helper store配置存储校验信息,这个操作在普通用户和root下面都做了,无效。
  • 最终解决办法: 直接在URL配置用户名和密码remote.origin.url=https://user:[email protected]/xx.git,密码的特殊字符可能需要转义参考
技术
  • git
  • devops
  • git常用awk实现类SQL的join功能
    目录