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.
posted @ 2018-11-22 11:03  TBHacker  阅读(1646)  评论(0编辑  收藏  举报