報錯信息如下
git push
fatal: unable to access 'https://github.com/XXXX.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
試了各種設置代碼忿檩,完全沒有用俏蛮,直到看到一篇文章
上傳項目到github無法提交代碼
通過對端口443的說明,是因為Android studio 沒有登陸GitHub賬號尸疆,然后在studio的設置中一看轮洋,果然如此。允粤。。
Android studio 登陸GitHub
目前無法使用賬號和密碼登錄了翼岁,可以選用token登錄类垫,登錄GitHub后進入設置頁面
- Settings
- Developer settings
- Personal access tokens
- 選擇生成token,需要勾選Android studio token登錄框所要求的幾個條件
這些設置完畢后琅坡,再次使用git push 已經(jīng)沒有問題了