Git 全局设置:
git config --global user.name "蒂尔"
git config --global user.email "[email protected]"
创建 git 仓库:
mkdir reactor-webflux
cd reactor-webflux
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/deir/reactor-webflux.git
git push -u origin "master"
已有仓库?
# 切换到本地项目目录
cd existing_git_repo
git init
# 设置git远程仓库地址
git remote add origin https://gitee.com/deir/reactor-webflux.git
# 本地代码提交
git add . && git commit -m ""
# 本地代码推送到远程
git push -u origin "master"
标签:origin,初始化,git,reactor,仓库,webflux,add,推送 From: https://www.cnblogs.com/deir/p/16792838.html