好像还是不能用git在本地直接建一个repository,然后推送到github,这是把本地项目推送到github上已经建好的裤
…or create a new repository on the command line
echo "# learn_c" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:tuhooo/learn_c.git
git push -u origin master
…or push an existing repository from the command line
git remote add origin git@github.com:tuhooo/learn_c.git
git push -u origin master