1. 下載git 和Pycharm並安裝git
2. 打開Pycharm, 點擊 file-->Default Settins-->Version Control-->Git 而後在 Path to Git executable中選擇本地的git.exe 路徑。blog
以下所示:it
3. 點擊導航欄中的VCS -> Checkout from Version Control -> Gitio
4. 在Git Repository URL 中填寫git倉庫的地址,輸入保存的路徑,點擊clone。table
隨後輸入帳號和密碼,此時即可看到拉下來的代碼了。date
5. 如何添加文件呢?file
右鍵文件 -> 選擇Git-> Add下載
6. 提交代碼,更新代碼密碼
點擊右上角的commit 圖標(Ctrl+K)進行提交,點擊update 圖標(Ctrl+T)進行更新im