echo "# test" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/blanset/tesy.git
git push -u origin main
git remote add origin https://github.com/blanset/tesy.git
git branch -M main
git push -u origin main
标签:origin,git,记录,add,github,tesy,main
From: https://www.cnblogs.com/blanset/p/16992376.html