echo "# laravel" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/yanruichengboke1991/laravel.git
git push -u origin master
git remote add origin https://github.com/yanruichengboke1991/laravel.git
git push -u origin master
原文:https://www.cnblogs.com/ayanboke/p/11238431.html