push an existing repository from the command line

git remote add origin https://github.com/gaoconggit/LandMVC.git
git push -u origin master
原文地址:https://www.cnblogs.com/gaocong/p/6737931.html