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
原文地址:https://www.cnblogs.com/brady-wang/p/5407837.html