step1 git initstep2 git add .step3 git commit -m "首次提交等文本信息"step4 git remote add origin http://...(项目地址)step5 git pull origin master(先拉取)step6 git push origin master(再提交)