git config --global user.name "马旭彬" git config --global user.email "[email protected]"
git clone [email protected]:data/qqgroup.git cd qqgroup git switch -c main touch README.md git add README.md git commit -m "add README" git push -u origin main
cd existing_folder git init --initial-branch=main git remote add origin [email protected]:data/qqgroup.git git add . git commit -m "Initial commit" git push -u origin main
cd existing_repo git remote rename origin old-origin git remote add origin [email protected]:data/qqgroup.git git push -u origin --all git push -u origin --tags