git config --global user.name “用户名”
git config --global user.email “x’x’x’x@qq.com”
创建 git 仓库:(这个可以上传)
mkdir demo
cd demo
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin git@gitee.com:kissay/demo.git
git push -u origin master
已有仓库?
cd existing_git_repo
git remote add origin git@gitee.com:kissay/demo.git
git push -u origin master
直接克隆项目代码
https://blog.csdn.net/mengwenlilili/article/details/105933511