Files
a/git.md
2026-03-24 18:40:17 +08:00

14 lines
466 B
Markdown

## 从命令行创建一个新的仓库
touch README.md
git init
git checkout -b main
git add README.md
git commit -m "first commit"
git remote add origin https://git.sino-assist.com/dong/a.git
git push -u origin main
## 从命令行推送已经创建的仓库
git remote add origin https://git.sino-assist.com/dong/a.git
git push -u origin main
## 后续直接上传命令,大文件不行
git add . && git commit -m 'xxxx' --no-verify && git push origin main