1、先在git上新建仓库
2、在已有的文件夹内打开git bash
git init
git add .
git commit -m '初始化提交'
git branch -M main
git remote add origin https://*********
git push -u origin main
1、先在git上新建仓库
2、在已有的文件夹内打开git bash
git init
git add .
git commit -m '初始化提交'
git branch -M main
git remote add origin https://*********
git push -u origin main