如何新建github项目
1、建的时候不要加任何预订制文件,就会出现以下屏幕提示,按操作执行即可:
echo "# int" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:username/project_name.git
git push -u origin main
1、建的时候不要加任何预订制文件,就会出现以下屏幕提示,按操作执行即可:
echo "# int" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:username/project_name.git
git push -u origin main