From 49b5d7ede1a4e5d7217f31635e5324c0763e342c Mon Sep 17 00:00:00 2001 From: "Y. Z. Chen" <754097987@qq.com> Date: Sat, 7 May 2016 22:19:31 +0800 Subject: [PATCH 1/2] [typo] Full-width parentheses instead of half-width. --- book/02-git-basics/sections/viewing-history.asc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/02-git-basics/sections/viewing-history.asc b/book/02-git-basics/sections/viewing-history.asc index 9ce612ad..4fdee3d2 100644 --- a/book/02-git-basics/sections/viewing-history.asc +++ b/book/02-git-basics/sections/viewing-history.asc @@ -173,7 +173,7 @@ a11bef0 - Scott Chacon, 6 years ago : first commit | `%ae` | 作者的电子邮件地址 | `%ad` | 作者修订日期(可以用 --date= 选项定制格式) | `%ar` | 作者修订日期,按多久以前的方式显示 -| `%cn` | 提交者(committer)的名字 +| `%cn` | 提交者(committer)的名字 | `%ce` | 提交者的电子邮件地址 | `%cd` | 提交日期 | `%cr` | 提交日期,按多久以前的方式显示 From ea03680a07c2dd53821c13edb910e1633475c3a5 Mon Sep 17 00:00:00 2001 From: "Y. Z. Chen" <754097987@qq.com> Date: Sat, 7 May 2016 22:29:54 +0800 Subject: [PATCH 2/2] [typo] Another parentheses. --- book/02-git-basics/sections/viewing-history.asc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/02-git-basics/sections/viewing-history.asc b/book/02-git-basics/sections/viewing-history.asc index 4fdee3d2..692d816a 100644 --- a/book/02-git-basics/sections/viewing-history.asc +++ b/book/02-git-basics/sections/viewing-history.asc @@ -253,7 +253,7 @@ $ git log --since=2.weeks $ git log -Sfunction_name ---- -最后一个很实用的 `git log` 选项是路径(path), +最后一个很实用的 `git log` 选项是路径(path), 如果只关心某些文件或者目录的历史提交,可以在 git log 选项的最后指定它们的路径。 因为是放在最后位置上的选项,所以用两个短划线(--)隔开之前的选项和后面限定的路径名。