已存在的文件夹
cd existing_folder git init git remote add origin http://gitlab.xfyun.cn/jbchen6/cicd.git git add . git commit -m "Initial commit" git push -u origin master
已存在的 Git 版本库
cd existing_repo git remote rename origin old-origin git remote add origin http://gitlab.xfyun.cn/jbchen6/cicd.git git push -u origin --all git push -u origin --tags