git init git add . git commit -m "..." git remote add origin 远程仓库地址 git push -u origin master 最后两步一直搞混淆了,记录下!