mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 08:28:50 +02:00
update some punctuation
This commit is contained in:
parent
8ce93006b8
commit
1a53e51610
15 changed files with 118 additions and 118 deletions
|
@ -82,16 +82,16 @@ exports.level = {
|
|||
"markdowns": [
|
||||
"## Git Pull",
|
||||
"",
|
||||
"現在我們已經知道如何利用 `git fetch` 從 remotre repository 抓取資料,讓我們來看一下如何更新我們的資料!",
|
||||
"現在我們已經知道如何利用 `git fetch` 從 remote 抓取資料,讓我們來看一下如何更新我們的資料!",
|
||||
"",
|
||||
"只要在你的 local repository 有新的 commit,便有很多方法可以做到這件事情,你可以把它們視為在其他 branch 上面的一般的 commit,這表示你可以執行像這樣子的命令:",
|
||||
"只要在你的 local 有新的 commit,便有很多方法可以做到這件事情,你可以把它們視為在其它 branch 上面的一般的 commit,這表示你可以執行像這樣子的指令:",
|
||||
"",
|
||||
"* `git cherry-pick o/master`",
|
||||
"* `git rebase o/master`",
|
||||
"* `git merge o/master`",
|
||||
"* 等等‧‧‧",
|
||||
"",
|
||||
"事實上,一次*下載 (fetch)* remote 的更新並且*合併 (merge)* 這些更新在 git 裡面是很常見的事情! 這個命令叫作 `git pull`。"
|
||||
"事實上,一次*下載 (fetch)* remote 的更新並且*合併(merge)* 這些更新在 git 裡面是很常見的事情! 這個命令叫作 `git pull`。"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -102,7 +102,7 @@ exports.level = {
|
|||
"讓我們來看循序執行一個 `fetch` 和一個 `merge` 的樣子"
|
||||
],
|
||||
"afterMarkdowns": [
|
||||
"看吧! 我們利用 `fetch` 下載了 `C3` 並且利用 `git merge o/master` 來更新資料,現在我們的 `master` branch 跟 remote repository 的新的工作進度同步了 (在這個例子中,remote repository 叫作 `origin`)"
|
||||
"看吧! 我們利用 `fetch` 下載了 `C3` 並且利用 `git merge o/master` 來更新資料,現在我們的 `master` branch 跟 remote 的新的工作進度同步了(在這個例子中,remote repository 叫作 `origin`)。"
|
||||
],
|
||||
"command": "git fetch; git merge o/master",
|
||||
"beforeCommand": "git clone; git commit; git fakeTeamwork"
|
||||
|
@ -112,10 +112,10 @@ exports.level = {
|
|||
"type": "GitDemonstrationView",
|
||||
"options": {
|
||||
"beforeMarkdowns": [
|
||||
"如果用 `git pull` 會發生什麼事情?"
|
||||
"如果用 `git pull` 會發生什麼事情?"
|
||||
],
|
||||
"afterMarkdowns": [
|
||||
"一樣! 很明顯地,`git pull` 其實就是 git fetch 跟 git merge 的循序執行的結果,而且 merge 的 branch 就是 fetch 所更新的 branch。"
|
||||
"一樣!很明顯地,`git pull` 其實就是 git fetch 跟 git merge 的循序執行的結果,而且 merge 的 branch 就是 fetch 所更新的 branch。"
|
||||
],
|
||||
"command": "git pull",
|
||||
"beforeCommand": "git clone; git commit; git fakeTeamwork"
|
||||
|
@ -125,7 +125,7 @@ exports.level = {
|
|||
"type": "ModalAlert",
|
||||
"options": {
|
||||
"markdowns": [
|
||||
"我們會解釋 `git pull` 的細節 (包括 options 以及 arguments), 但現在先讓我們在這個關卡試試看!",
|
||||
"我們會解釋 `git pull` 的細節(包括可選擇的參數), 但現在先讓我們在這個關卡試試看!",
|
||||
"",
|
||||
"記住喔,你可以利用循序執行的方式來執行 `fetch` 以及 `merge` 來完成這個關卡,但是相對於 `git pull`,你就得多打一個指令。:P"
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue