echo "# mpcs51030-2017-winter-assignment-1-MengchenLiu" >> README.md
git init
git add README.md
git commit -m "first commit”
git remote add origin https://github.com/uchicago-mobi/mpcs51030-2017-winter-assignment-1-MengchenLiu.git
git push -u origin master
原文:http://www.cnblogs.com/mantraliu/p/6288371.html