本地

git init

git add .

git commit -m "xxx"

远程

git remote add orgin http:sss.git

git pull origin master   下拉合并

git push  -u origin master 上传