Git 全局设置:
git config --global user.name "peng*****";
git config --global user.email "9937****@qq.com";
创建 git 仓库:
//mkdir 创建目录仓库
//cd 进入目录仓库
git init
touch README.md
git add README.md
git commit -m "first commit";
git remote add origin https://gitee.com/******.git
git push -u origin master
已有仓库?
//cd 进入目录仓库
git remote add origin https://gitee.com/******.git
git push -u origin master