git init git remote add origin 地址 git add . //把工作区的所有变化提交到暂存区 git commit -m "备注" git push -u origin master