1. 程式人生 > 程式設計 >Pycharm Git 設定方法

Pycharm Git 設定方法

Git設定

1.Git安裝

2.SSH金鑰設定

Pycharm Git 設定方法

生成金鑰

ssh-keygen -t rsa -C [email protected]

將金鑰的 id_rsa.pub 內容複製出來,放到github上

Pycharm Git 設定方法

https://www.jb51.net/article/195662.htm

3.PyCharm設定

生成Token:https://www.jb51.net/article/195664.htm

或者https://www.jb51.net/article/195666.htm

Pycharm Git 設定方法Pycharm Git 設定方法

4.Github克隆專案

Pycharm Git 設定方法

Pycharm Git 設定方法

5.專案的版本操作(Get)

Pycharm Git 設定方法

6.Github上傳專案

Pycharm Git 設定方法

報錯

網路問題導致報錯:

Couldn't get the list of GitHub repositories: Connect to api.github.com:443 [api.github.com/13.250.168.23] failed: Connection refused: connect

我是搭著梯子才成功的,其他操作不需要。

到此這篇關於Pycharm Git 設定方法的文章就介紹到這了,更多相關Pycharm Git 設定內容請搜尋我們以前的文章或繼續瀏覽下面的相關文章希望大家以後多多支援我們!