How to create a gitee warehouse and upload code detailed steps

1. Log in to gitee - - > click warehouse - - > create warehouse

insert image description here

2. Create a new warehouse, fill in the warehouse information, and click Create

insert image description here
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"

insert image description hereinsert image description here
Please add a picture description

Guess you like

Origin blog.csdn.net/weixin_43778617/article/details/127310773