git clone GitLab 工程報錯Repository not found


有時使用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

如此即可解決。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM