进入项目的目录 git init 产生一个.git/的目录
echo "# spider" >> README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/852438143/spider.git git push -u origin master
git remote add origin https://github.com/852438143/spider.git
git push -u origin master
原文:http://www.cnblogs.com/ylw666/p/6371880.html