git使用

git init   //初始化本地仓库
git add .  //添加所有文件到本地仓库
git commit -m "first commit" 提交
git remote add origin http://smartcost.f3322.net:3000/wangfeng/scexam_Android.git //添加远程地址
git push -u origin master //推送至远程服务器
原文地址:https://www.cnblogs.com/howlaa/p/9947410.html