$ git init 初始化命令
$ git remote -v 查看版本信息
$ git pull origin master 拉一下项目
$ git add . 提交内容
$ git commit -m 'init' 添加更改记录
$ git push origin master 推一下项目
git config --global user.name "xxxx"
git config --global user.email "xxxx"
新增 如果不是第一次可以不写
$ git remote -v 查看版本信息
$ git pull origin master 拉一下项目
$ git add . 提交内容
$ git commit -m 'init' 添加更改记录
$ git push origin master 推一下项目