git

git clone http://github
///copy files//
git add .
git commit -m 'what you say'
git push

//如果是新项目
git remote add origin http://github
git push -u origin master

原文地址:https://www.cnblogs.com/comeluder/p/12532682.html