github上传代码windows10/11
以下操作在git bash里
git init
git add .
git config --global user.name "MingfangDeng"
git config --global user.email "xxxx@qq.com"
git commit -m "the first commit"
git remote add origin "https://github.com/xxxx/xxxxx.git"
git pull --rebase origin main (or master)
git push -u origin main
git push -u origin main (or master)