1. 首先 我們需要再gitlab 上建立一個group , (group 可也設定是public 還是private),public 可以不用用戶密碼用 https 下載
2. 再gitlab 的group 下 建立一個倉庫 (pulbic/private)?
? ? ?如何刪除 一個倉庫(setting->general->Remove project)
本地:?
? ? 0.git init
? ? ?1. git remote add origin <remote_repository_url>
? ? ? ? ?e.g. git remote add origin https://gitlab.com/group/project_url
? ? ?2. git add .? ?
? ? ? ? ? ? 如果有空文件夾 需要用這個命令去加
? ? ? ? ? ? ? find? . -type d -empty?
? ? ? ? ? ? ? git? update-index --add --cacheinfo 160000 $(git hash-object -t tree /dev/num) folder
? ? ? ? ? git commit -m "information "
? ? 3. git push -u origin/main/master