qt git The command Password authentication \Git\bin\git.exe terminated with exit code 128.

qt git学过过程中遇到的以下报错

Password authentication

Password authentication

Password authentication

Permission denied, please try again.

Permission denied, please try again.

xxxxx@xxxxxxxx: Permission denied (password,keyboard-interactive,publickey).

fatal: Could not read from remote repository.

 

Please make sure you have the correct access rights

and the repository exists.

The command "D:\xxxxxx\Git\bin\git.exe" terminated with exit code 128.

查看了很久都没找到解决方案,我使用的是ssh格式,但大多数网上的的设置都是使用http格式,于是我也更改为http格式,就解决了,设置如下:

origin要设置成http开头的,注意一定要先点close,然后重新打开,如果不点close好像没有保存,反正我试过没有先close就是不行,并如果是使用ssh开头的就会报Password authentication错误。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章