将现有文件夹推送git仓库
详细见:https://www.jianshu.com/p/c34f4e315785
步骤:
Push an existing folder
cd existing_folder
git init
git checkout -b main
git remote add origin git@gitlab.com:mygit/mypro.git
git add .
git commit -m "Initial commit"
git push -u origin main