Skip to content

Commit

Permalink
Merge pull request #71 from Link1515/fix/typos
Browse files Browse the repository at this point in the history
fix typos in 10.md and 24.md
  • Loading branch information
doggy8088 authored Dec 22, 2024
2 parents 4d9d2eb + e98bdbc commit 5dfcec6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion zh-cn/10.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

由于 Git 物件 id 是通过内容进行 SHA1 哈希后的结果,所以很长,在 Git 标示「绝对名称」时,可以用前面几码代替,最少不可低于 4 个字元。也就是说 4 ~ 40 个字元长度的「绝对名称」都是可以用的。

例如我们从上图也可以看出在这个 commit 物件的的内容包含了一个 tree 物件,该物件也有一个 tree 物件的绝对名称 `07c1321be49815d53eb2413f0ad5286010ebb6cc`,所以我也可以再次通过 `git cat-file -p treeid` 来取得该 tree 物件的内容,如下图示:
例如我们从上图也可以看出在这个 commit 物件的内容包含了一个 tree 物件,该物件也有一个 tree 物件的绝对名称 `07c1321be49815d53eb2413f0ad5286010ebb6cc`,所以我也可以再次通过 `git cat-file -p treeid` 来取得该 tree 物件的内容,如下图示:

![image](figures/10/03.png)

Expand Down
2 changes: 1 addition & 1 deletion zh-cn/24.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ GitHub 是目前全世界最多人采用的 Git 线上管理平台,他包含

![image](figures/24/03.png)

如果你要建立一个「**没有版本**」的空白 Git 仓库,最重要的就是最下方的 **Initialize this repository with a README** 不要勾选,还有 **Add .gitignore****Add a licenes** 都保留预设的 **None** 选项:
如果你要建立一个「**没有版本**」的空白 Git 仓库,最重要的就是最下方的 **Initialize this repository with a README** 不要勾选,还有 **Add .gitignore****Add a license** 都保留预设的 **None** 选项:

![image](figures/24/04.png)

Expand Down
2 changes: 1 addition & 1 deletion zh-tw/10.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

由於 Git 物件 id 是透過內容進行 SHA1 雜湊後的結果,所以很長,在 Git 標示「絕對名稱」時,可以用前面幾碼代替,最少不可低於 4 個字元。也就是說 4 ~ 40 個字元長度的「絕對名稱」都是可以用的。

例如我們從上圖也可以看出在這個 commit 物件的的內容包含了一個 tree 物件,該物件也有一個 tree 物件的絕對名稱 `07c1321be49815d53eb2413f0ad5286010ebb6cc`,所以我也可以再次透過 `git cat-file -p treeid` 來取得該 tree 物件的內容,如下圖示:
例如我們從上圖也可以看出在這個 commit 物件的內容包含了一個 tree 物件,該物件也有一個 tree 物件的絕對名稱 `07c1321be49815d53eb2413f0ad5286010ebb6cc`,所以我也可以再次透過 `git cat-file -p treeid` 來取得該 tree 物件的內容,如下圖示:

![image](figures/10/03.png)

Expand Down
2 changes: 1 addition & 1 deletion zh-tw/24.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ GitHub 是目前全世界最多人採用的 Git 線上管理平台,他包含

![image](figures/24/03.png)

如果你要建立一個「**沒有版本**」的空白 Git 儲存庫,最重要的就是最下方的 **Initialize this repository with a README** 不要勾選,還有 **Add .gitignore****Add a licenes** 都保留預設的 **None** 選項:
如果你要建立一個「**沒有版本**」的空白 Git 儲存庫,最重要的就是最下方的 **Initialize this repository with a README** 不要勾選,還有 **Add .gitignore****Add a license** 都保留預設的 **None** 選項:

![image](figures/24/04.png)

Expand Down

0 comments on commit 5dfcec6

Please sign in to comment.