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錯誤。