第一次代码提交
1.在github新建一个空白仓库
2、当前在文件下
3、git init
5、git add .(当前目录下所有代码全部提交)
6、git commit -n "init" 这次提交的备注信息
7、git branch -M main
8、git remote add origin (address)
9、git push -u origin main
echo "# tiny_sql" >> README.md
git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/steveaiamanda520/tiny_sql.git
git push -u origin main
第二次提交
git add .
git commit -m "second"
git push -u origin main