TortoiseGit git push提示fatal: HttpRequestException encountered remote: Invalid username or password.
生活随笔
收集整理的這篇文章主要介紹了
TortoiseGit git push提示fatal: HttpRequestException encountered remote: Invalid username or password.
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
git push代碼的時候提示失敗如下圖:
反復多次操作確認密碼無問題還是提示失敗。網上搜了下提示說是ssh 和https操作方式不同,對于https
第二次提示輸入密碼的時候這個密碼是Personal access tokens里面的密碼,沒有的話可以登錄到github上創建一個。
實際測試可行。
添加Personal access tokens操作是在github-> settinga-> Developer settings->Personal access tokens
?
第二種方法是將git 的url替換成ssh?
git remote set-url origin git@github.com:username/repository總結
以上是生活随笔為你收集整理的TortoiseGit git push提示fatal: HttpRequestException encountered remote: Invalid username or password.的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 打印机怎么打印u盘 如何用打印机打印U盘
- 下一篇: 腾讯云安装samba服务器无法连接问题