1. 首先下載并安裝Git
2. pycharm 中配置Git
打開? file-> setting-> Version Control-> Git,添加"path to Git executable"
如下圖所示,添加Git安裝目錄下git.exe

path to Git executable
3. 在pycharm中新建project "Pica_Saas",并編寫腳本
4. 在GitHub上也新建一個 創(chuàng)庫,且名稱為?"Pica_Saas"
5. pycharm中提交代碼到GitHub
如下下圖,可選擇項目右鍵 - Git,將代碼提交
或者使用命令:git add、git commit -m、git pull .....

提交代碼
6. 提交成功后,可登陸GitHub賬號查看提交記錄
7. 從GitHub上拉取代碼
如下圖所示:
配置地址后,點擊clone,可拉取項目代碼

