錯(cuò)誤問(wèn)題:
提示:disconnected no supported authentication methods available(server sent: publickey)
錯(cuò)誤原因:
tortoisegit 中的 ssh 與 Git中的沖突
解決方法:
1. 打開tortoisegit
設(shè)置界面
- 在初始化了git管理的目錄芳悲,點(diǎn)擊右鍵,然后依次 選擇
tortoiseGit > Settings
边坤。
image.png
另
:如果你使用hbuilderx
,也可以用在目錄那點(diǎn)擊右鍵名扛,然后選Git > push(推送)
或者外部命令 > Git插件 > 推送
,打開推送頁(yè)面茧痒,最后點(diǎn)擊 Destination中的Remote對(duì)應(yīng)的Manage
按鈕
點(diǎn)擊推送
點(diǎn)擊Manage
- 在設(shè)置界面肮韧,選
Network
,然后修改·SSH client
的值為Git
安裝目錄下的ssh,點(diǎn)擊應(yīng)用弄企、確定就解決了超燃。如下圖:
image.png