1. 程式人生 > >git拉取GitLab工程報錯Repository not found

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:[email protected]/jiqing/frog.git
#git clone http://username:[email protected]/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.