git拉取GitLab工程报错Repository not found

# git clone http://xxx/jiqing/frog.git
正克隆到 'frog'...
fatal: repository 'http://xxx/jiqing/frog.git/' not found

原因:因为以前使用过其他帐号配置信息都保存了,然后帐号密码默认用以前的导致拉取没有权限
解决办法:

git clone http://username:password@xxx/jiqing/frog.git
#git clone http://username:password@xxx/jiqing/frog.git
正克隆到 'frog'...
remote: Counting objects: 2720, done.
remote: Compressing objects: 100% (2210/2210), done.
remote: Total 2720 (delta 402), reused 2713 (delta 401)
接收对象中: 100% (2720/2720), 22.59 MiB | 1.05 MiB/s, done.
处理 delta 中: 100% (402/402), done.

猜你喜欢

转载自www.cnblogs.com/jiqing9006/p/9999778.html