1. Log in to gitee - - > click warehouse - - > create warehouse
2. Create a new warehouse, fill in the warehouse information, and click Create
3. At this time, an initialization file will be generated, some commands:
## Git 全局设置
git config --global user.name "自己的用户名"
git config --global user.email "自己的邮箱"
## 创建 git 仓库:
mkdir oao
cd oao
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/自己的用户名/oao.git
git push -u origin "master"
## 已有仓库?
cd existing_git_repo
git remote add origin https://gitee.com/自己的用户名/oao.git
git push -u origin "master"