【git】记录github的一些命令

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
posted @ 2022-12-19 15:49  求道之愚者  阅读(19)  评论(0)    收藏  举报