update detachedHead.js

This commit is contained in:
mht 2013-12-11 22:08:03 +08:00
parent 4dd3581dbd
commit 822c9885f9

View file

@ -179,7 +179,7 @@ exports.level = {
"",
"在接觸 Git 的更多進階的主題之前,我們先學習用不同的方法在你的 project 中的 commit tree 上面移動。",
"",
"一旦能夠熟練地在 commit tree 中隨意地移動,你使用其它的 git 指令也會更厲害!",
"一旦能夠熟練地在 commit tree 中隨意地移動,你使用其它的 git 指令也會更厲害!",
"",
"",
"",
@ -194,9 +194,9 @@ exports.level = {
"markdowns": [
"## HEAD",
"",
"我們首先看一下 \"HEAD\"HEAD 是一個參考,它是指向目前所 checkout 的 commit -- 基本上,其實就是你目前所在的 commit。",
"我們首先看一下 \"HEAD\"HEAD 是一個 reference,它是指向目前所 checkout 的 commit -- 基本上,其實就是你目前所在的 commit。",
"",
"在 working tree 中HEAD 總是指向最近的一次commit。大部份 git 的指令如果要修改 working tree 的狀態的話,都會先改變 HEAD 所指向的參考。",
"在 working tree 中HEAD 總是指向最近的一次commit。大部份 git 的指令如果要修改 working tree 的狀態的話,都會先改變 HEAD 所指向的 commit。",
"",
"HEAD 通常指向一個分支的名稱(比如 bugFix。當你 commit 的時候,改變了 bugFix 的狀態,這一個變化可以從 HEAD 的改變中看到。"
]
@ -209,7 +209,7 @@ exports.level = {
"在實際的例子中。我們將會觀察 commit 前後 HEAD 的位置。"
],
"afterMarkdowns": [
"看吧! HEAD 一直藏在 `master` 分支的後面。"
"看吧!HEAD 一直藏在 `master` 分支的後面。"
],
"command": "git checkout C1; git checkout master; git commit; git checkout C2",
"beforeCommand": ""