1、学习git使用 廖雪峰的官方博客 http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000 2、注册GitHub账号 agsgs2007,密码为常用密码 3、学会在Github上创建新的仓库 4、学习设置PyCharm的Git 5、学习使用PyCharm的Git,创建本地库,add,commit 6、如果想把本地代码push到github,首先应在GitHub上创建仓库,然后使用 /*push an existing repository from the command line*/ git remote add origin git@github.com:agsgs2007/pythontest1.git git push -u origin master 这样本地库与远程库关联起来了