Git 全局设置:
git config --global user.name "用户名" git config --global user.email "邮箱"
创建 git 仓库:
mkdir taxi-online cd taxi-online git init touch README.md git add README.md git commit -m "first commit" git remote add origin 仓库地址.git git push -u origin "master"
已有仓库?
git remote add origin 仓库地址.git git push -u origin "master"