git config --global user.name "马旭彬" git config --global user.email "2105007694@qq.com"
git clone git@gitlab.cnsodata.com: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 git@gitlab.cnsodata.com: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 git@gitlab.cnsodata.com:data/qqgroup.git git push -u origin --all git push -u origin --tags
posted on 2023-02-06 14:18 旭彬 阅读(14) 评论(0) 编辑 收藏 举报