191145692 发表于 2018-1-12 06:49:04

GitLab could not read Username for

  在ubuntu上配置了gitLab,在custom_hooks自定义钩子中,post-receive中,对应GitLab中的私库,clone等都需要验证(http方式需要输入用户名和密码,SSH的方式这里先不讨论)
  ,出现了could not read Username for 'ip地址':No such device or address
  原因
  .git目录下的config文件中没有用户身份信息
  解决方法:
  在请求串中加入身份信息即可,格式为:
  https://:@github.com//project.git
https://images2017.cnblogs.com/blog/1069020/201708/1069020-20170823160602324-1953133463.png
  参考:http://blog.csdn.net/ybygjy/article/details/22409739
页: [1]
查看完整版本: GitLab could not read Username for