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

466 B

从命令行创建一个新的仓库

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