# 推專案到 GitLab ## Step 1. 登入 GitLab 並創立新專案 ![image](https://hackmd.io/_uploads/By8xrpIBa.png) 點擊 `New Project`。 ## Step 2. 創一個空白專案 ![image](https://hackmd.io/_uploads/Hk1fraUST.png) 點擊 `Create Blank Project`。 ## Step 3. 填入專案相關資料 ![image](https://hackmd.io/_uploads/HkbmST8H6.png) Project Name: `Coding Lab ㄅ - Team 00` 點擊 `Create Project`。 ## Step 4. Clone 專案 ![image](https://hackmd.io/_uploads/SyV3Hp8Ha.png) 複製 Clone with SSH 的連結,並 Clone 該專案。 ```bash git clone <SSH_LINK> ``` ![image](https://hackmd.io/_uploads/ByKoLpISa.png) ![image](https://hackmd.io/_uploads/HJA3Lp8ra.png) ## Step 5. 放置你的 Coding Lab 專案到專案資料夾內 把你的 Coding Lab 檔案放到專案資料夾內 ![image](https://hackmd.io/_uploads/B1f7vTLBp.png) 在該資料夾開一個 Terminal,並推上 GitLab :::warning 記得確認一下 Terminal 當前的路徑是不是對的。 ::: ```bash git add . git commit -m "Initialize Coding Lab project" git push ``` ![image](https://hackmd.io/_uploads/SJLID6UBp.png) ## Step 6. 確認你的檔案已經推送到 GitLab 的 Project ![image](https://hackmd.io/_uploads/BJksv68Ha.png)