1.登陆github:https://github.com/,同时登陆自己的账户
2.点击start a project创建一个远程仓库
3.进入本地项目根目录,初始化本地仓库git init
4.提交当前项目源代码
1)git add .
2)git commit -m "springmvc"
3)git remote add origin https://github.com/tongyiming/springmvc_no-Annotation.git
4)git pull origin master
5)git push origin master
补充:3)中地址是clone or download中的