git与github

echo "# a" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:wys1990/a.git
git push -u origin master

…or push an existing repository from the command line

 
git remote add origin git@github.com:wys1990/a.git
git push -u origin master
posted @ 2016-04-19 13:22  brady-wang  阅读(172)  评论(0编辑  收藏  举报