添加到本地仓库git add .
添加提交描述git commit -m '内容'
提交前先从远程仓库主分支中拉取请求git pull origin master
把本地仓库代码提交git push -u origin master