Skip to content

Commit 620714a

Browse files
committed
docs: 新增專案下載說明和場景 8 submodule 特別說明
- 在主 README 加入完整的 git clone 指令 - 說明場景 8 使用 submodule 的原因和處理方式 - 提供 ZIP 下載的替代方案說明
1 parent 1757f65 commit 620714a

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,35 @@
88
- Visual Studio Code(最新版本)
99
- GitHub 帳號
1010
- 網路連線
11+
- Git(用於下載專案)
12+
13+
## 📥 下載教學專案
14+
15+
### 方法 1:使用 Git Clone(推薦)
16+
```bash
17+
# 克隆專案(包含場景 8 的 submodule)
18+
git clone --recursive https://github.com/yulin0629/github-copilot-tutorial.git
19+
20+
# 如果已經克隆但忘記加 --recursive,執行以下命令
21+
cd github-copilot-tutorial
22+
git submodule update --init --recursive
23+
```
24+
25+
### 方法 2:下載 ZIP 檔案
26+
1. 前往 [專案頁面](https://github.com/yulin0629/github-copilot-tutorial)
27+
2. 點擊綠色的「Code」按鈕
28+
3. 選擇「Download ZIP」
29+
4. 解壓縮到您想要的資料夾
30+
31+
> ⚠️ **注意**:如果使用 ZIP 下載,場景 8 需要另外處理(因為它是 git submodule):
32+
> - 前往 [場景 8 範例專案](https://github.com/yulin0629/copilot-agent-demo-todo)
33+
> - 下載 ZIP 並解壓縮,覆蓋 `08-comprehensive-project` 整個資料夾
34+
35+
### 💡 關於場景 8 的特殊說明
36+
場景 8 使用 git submodule 連結到獨立的 GitHub repository,這是為了:
37+
- 展示真實的 GitHub 工作流程(Issue → PR)
38+
- 讓學員體驗完整的 AI 自動化開發
39+
- 可以在獨立 repo 中預置測試用的 Issues
1140

1241
## 🚀 安裝與設定指南(Windows)
1342

0 commit comments

Comments
 (0)