有时使用git拉取gitlab上的项目时会出现如下的错误信息:Repository not found

remote: Repository not found.
fatal: repository 'http://10.68.7.177/xxx/xxx.git' not found

出现此错误是因为本地已经保存过之前项目的权限信息--账号/密码,但是该账号密码对于想要拉取代码的项目权限不匹配,因此需要在拉取代码时添加具有权限的账号密码:

打开DOS窗口执行:git clone http://username:password@10.68.7.177/xxx/xxx.git

如此即可解决。

相关文章:

  • 2022-01-24
  • 2021-08-26
  • 2021-04-05
  • 2021-06-27
  • 2021-05-17
  • 2022-12-23
  • 2021-04-10
  • 2021-06-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-19
  • 2022-12-23
  • 2021-11-14
相关资源
相似解决方案