1、下载git,https://git-scm.com/downloads,这里有
2、安装并配置https://git-scm.com/book/zh/v1/%E8%B5%B7%E6%AD%A5-%E5%AE%89%E8%A3%85-Git;
3、配置好了之后,cd 到项目目录下
4、然后git init
5、再然后git add .
6、再然后git commit -m "注释"
7、git remote add origin 仓库地址
8、最后git pull origin master
9、最最后再来一步git push -u origin master
over
其中一个仓库地址我就不详细说了,还有一个就是不要问我为什么,因为我也不知道为什么!!