關於git(一)=>fatal: HttpRequestException encountered

因爲Github 禁用了TLS v1.0 and v1.1,須更新Windows的git憑證管理器。git

https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.14.0github

點擊下載安裝 GCMW-1.14.0.exe ,問題就解決了。緩存

 

附加將本地項目上傳到Github的流程命令url

一、選擇要上傳的項目而後右擊選擇Git Bash Herespa

 

二、在命令行中輸入git init把這個文件夾變成Git可管理的倉庫命令行

三、輸入 git add . (注意這個".",是有空格的,"."表明這個文件夾下的目錄所有都提交。也能夠經過 "git add 文件名"  把指定的文件添加到緩存區3d

四、輸入 git commit -m "這裏面寫你的註釋" ,把文件提交的本地倉庫blog

五、輸入 git remote add origin https://本身的倉庫url地址 , 將本地的倉庫關聯到github上,rem

倉庫url地址如圖:get

六、輸入  git push -u origin master ,上傳到github倉庫。

相關文章
相關標籤/搜索