gitee 仓库初始化
Git 全局设置:
git config --global user.name "xxx"
git config --global user.email "xxxxxx@163.com"
1
2
2
创建 git 仓库:
mkdir blog
cd xxx
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/xxxxxx/xxx.git
git push -u origin "master"
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
已有仓库?
cd xxxxxx
git remote add origin https://gitee.com/xxxxxxx/xxx.git
git push -u origin "master"
1
2
3
2
3
上次更新: 2024/01/30, 00:35:17
- 02
- Node与GLIBC_2.27不兼容解决方案08-19
- 03
- Git清空本地文件跟踪缓存08-13