1、官方网站
# gitee官方网址
https://gitee.com/
![图片title 图片alt](https://images.shenmazong.com/blog/c931688d-d9f4-4339-9eac-5d296af00e1a.png)
2、注册
![图片title 图片alt](https://images.shenmazong.com/blog/8efcea23-e1c5-4c01-8858-03fa7628350b.png)
3、创建项目
![图片title 图片alt](https://images.shenmazong.com/blog/1d43c1be-96c9-4b95-bb32-eefb506892fa.png)
4、关联代码代码仓库
# 1、Git 全局设置:
git config --global user.name "ywbingchuan"
git config --global user.email "763906783@qq.com"
# 2、创建 git 仓库:
mkdir server-java-demo
cd server-java-demo
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/ywbingchuan/server-java-demo.git
git push -u origin master
# 3、已有代码
cd existing_git_repo
git remote add origin https://gitee.com/ywbingchuan/server-java-demo.git
git push -u origin master