[筆記]git clone permission denied please try again

大家好  小弟又來嘴砲了

之前再用git 遇到 git clone permission denied 的問題  做個紀錄

git的主要設定紀錄檔案,在個人家目錄的 ~/.gitconfig

一些 git 的初始化設定 可以參考網站

1.5 開始 - 初次設定Git

======================================================
在git clone 出現 permission denied的訊息後,我參考這個網站
才注意到我下指令錯誤的地方
我在別台PC用
git clone  ip:/xxx/路徑
但因為我是在別台PC 其帶入的user name會不同
所以要改成
git clone username@ip:/xxx/路徑 

這樣就可以 clone下來了

以上感謝下台一鞠躬

留言