默认目录改成main了,而我是按照之前的教程弄的(master)
所以现在要把库传到main咯
底下这个是将这个项目传到master
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/hongduhong/test.git
git push -u origin master
默认目录改成main了,而我是按照之前的教程弄的(master)
所以现在要把库传到main咯
底下这个是将这个项目传到master
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/hongduhong/test.git
git push -u origin master