Git clone 報錯 128


使用tortoiseGit檢出項目是報錯,錯誤代碼128;

使用git bash檢出相同目錄時返回 git clone fatal:destination path already exists and is not empty director

結合之前的內容和確認gitlab上有倉庫,感覺應該是權限的問題。

   

解決方法: 請求的時候將用戶帶上,將請求url變更一下:

before:

https://gitlab.com/my_gitlab_user/myrepo.git

after:

https://my_gitlab_user@gitlab.com/my_gitlab_user/myrepo.git 沒有權限時請求的地址

如果是windows會有彈出框要求輸入密碼。

   

以上。


免責聲明!

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



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