git 本地代码推送到远程分支
转载
在命令行上创建新的存储库
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/mrxlh/generate-database-document.git
git push -u origin main
从命令行推送现有存储库
git remote add origin https://github.com/mrxlh/generate-database-document.git
git branch -M main
git push -u origin main