使用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會有彈出框要求輸入密碼。
以上。