Skip to content

Commit

Permalink
Merge branch 'freeCodeCamp:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
herosql committed Aug 16, 2023
2 parents 208f3be + 790d31a commit a8049c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ UNIX:`$ echo "ref: refs/heads/master" > .git/HEAD`

# Git 中的底层命令与上层命令

这个时候,区分 **底层(plumbing)****上层(poreclain** 两类 `git` 命令会对你很有帮助。这两个术语的应用奇怪地来自于马桶(没错,就是🚽)。马桶通常是用陶瓷(porcelain)做的,它的基本结构是管道(plumbing,上水道和下水道)。
这个时候,区分 **底层(plumbing)****上层(porcelain** 两类 `git` 命令会对你很有帮助。这两个术语的应用奇怪地来自于马桶(没错,就是🚽)。马桶通常是用陶瓷(porcelain)做的,它的基本结构是管道(plumbing,上水道和下水道)。

我们可以说上层命令为底层命令提供了一个用户友好的接口。大多数人只会涉及到上层命令。然而,当事情变得(非常)糟糕时,有人可能就会想知道为什么,他们会卷起袖子去检查底层命令。(注意:这些术语并不是我发明的,它们在 `git` 中的使用非常广泛)。

Expand Down

0 comments on commit a8049c0

Please sign in to comment.