|
1 | 1 | # git Submodule tutorial :memo: |
2 | 2 |
|
3 | | -手把手帶大家動手做 [Youtube Tutorial PART 1 - git Submodule tutorial - how create submodule](https://youtu.be/IDMWLJCbCGo), |
| 3 | +手把手帶大家動手做 [Youtube Tutorial PART 1 - git Submodule tutorial - how to create submodule](https://youtu.be/IDMWLJCbCGo), |
4 | 4 |
|
5 | 5 | git Submodule 的官方文件可參考 [git-submodule](https://git-scm.com/docs/git-submodule/)。 |
6 | 6 |
|
@@ -44,9 +44,9 @@ git Submodule 的官方文件可參考 [git-submodule](https://git-scm.com/docs/ |
44 | 44 |
|
45 | 45 | 既然了解了使用情境,那我們就來看看它該怎麼使用:satisfied: |
46 | 46 |
|
47 | | -## how create submodule |
| 47 | +## how to create submodule |
48 | 48 |
|
49 | | -手把手帶大家動手做 [Youtube Tutorial PART 1 - git Submodule tutorial - how create submodule](https://youtu.be/IDMWLJCbCGo), |
| 49 | +手把手帶大家動手做 [Youtube Tutorial PART 1 - git Submodule tutorial - how to create submodule](https://youtu.be/IDMWLJCbCGo), |
50 | 50 |
|
51 | 51 | 先介紹一下 repo ,這邊有兩個 repo,分別為 main_project repo 以及 a_project repo, |
52 | 52 |
|
@@ -129,9 +129,9 @@ push 之後,可以到 github 網頁上看, |
129 | 129 |
|
130 | 130 | 學習完了如何建立 Submodule,接下來來看看如何更新 Submodule。 |
131 | 131 |
|
132 | | -## how update submodule |
| 132 | +## how to update submodule |
133 | 133 |
|
134 | | -手把手帶大家動手做 [Youtube Tutorial PART 2 - git Submodule tutorial - how update submodule](https://youtu.be/ogZoZOVyAYI), |
| 134 | +手把手帶大家動手做 [Youtube Tutorial PART 2 - git Submodule tutorial - how to update submodule](https://youtu.be/ogZoZOVyAYI), |
135 | 135 |
|
136 | 136 | 假設 a_project repo 也是我們自己維護的,當我們對它更新時,會發生什麼事情:question: |
137 | 137 |
|
@@ -237,9 +237,9 @@ the current branch of the submodule will be rebased onto the commit recorded in |
237 | 237 |
|
238 | 238 | 這種作法更方便,也解決了 **HEAD detached** 的問題 :thumbsup: |
239 | 239 |
|
240 | | -## how clone submodule |
| 240 | +## how to clone submodule |
241 | 241 |
|
242 | | -手把手帶大家動手做 [Youtube Tutorial PART 3 - git Submodule tutorial - how clone submodule](https://youtu.be/f5_O5Iu6pJo), |
| 242 | +手把手帶大家動手做 [Youtube Tutorial PART 3 - git Submodule tutorial - how to clone submodule](https://youtu.be/f5_O5Iu6pJo), |
243 | 243 |
|
244 | 244 | 這邊教大家如何 clone Submodule 的專案,執行一般的 clone 指令, |
245 | 245 |
|
@@ -311,9 +311,9 @@ git clone --recurse-submodules git@github.com:blue-rubiks/main_project.git |
311 | 311 |
|
312 | 312 | 但通常我們應該是不會一開始就知道這個專案有包含 submodule。 |
313 | 313 |
|
314 | | -### how remove submodule |
| 314 | +### how to remove submodule |
315 | 315 |
|
316 | | -手把手帶大家動手做 [Youtube Tutorial PART 4 - git Submodule tutorial - how remove submodule](https://youtu.be/imndFN7AvFA), |
| 316 | +手把手帶大家動手做 [Youtube Tutorial PART 4 - git Submodule tutorial - how to remove submodule](https://youtu.be/imndFN7AvFA), |
317 | 317 |
|
318 | 318 | 要移除 submodule 的步驟比較多,這邊教大家如何移除, |
319 | 319 |
|
|
0 commit comments