詳細見: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
詳細見: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