通过git上传项目到github

进入项目的目录 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


…or push an existing repository from the command line

 
git remote add origin https://github.com/852438143/spider.git
git push -u origin master
posted @ 2017-02-06 21:35  冷漠脸  阅读(115)  评论(0编辑  收藏  举报