Skip to content

Commit 98b9609

Browse files
committed
修正部分第七章引号
1 parent f71cb01 commit 98b9609

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

book/07-git-tools/sections/bundling.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
虽然我们已经了解了网络传输 Git 数据的常用方法(如 HTTP,SSH 等),但还有另外一种不太常见却又十分有用的方式。
55

6-
Git 可以将它的数据 ``打包'' 到一个文件中。
6+
Git 可以将它的数据“打包”到一个文件中。
77
这在许多场景中都很有用。
88
有可能你的网络中断了,但你又希望将你的提交传给你的合作者们。
99
可能你不在办公网中并且出于安全考虑没有给你接入内网的权限。

book/07-git-tools/sections/searching.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ date.c: if (gmtime_r(&time, tm)) {
5757
在这里我们可以看到在 date.c 文件中有 `match_multi_number` 和 `match_digit` 两个函数调用了 `gmtime_r`。
5858

5959
你还可以使用 `--and` 标志来查看复杂的字符串组合,也就是在同一行同时包含多个匹配。
60-
比如,我们要查看在旧版本 1.8.0 的 Git 代码库中定义了常量名包含 ``LINK'' 或者 ``BUF_MAX'' 这两个字符串所在的行。
60+
比如,我们要查看在旧版本 1.8.0 的 Git 代码库中定义了常量名包含 LINK 或者 BUF_MAX 这两个字符串所在的行。
6161

6262
这里我们也用到了 `--break` 和 `--heading` 选项来使输出更加容易阅读。
6363

book/07-git-tools/sections/stashing-cleaning.asc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ Dropped refs/stash@{0} (f0dfc4d5dc332d1cee34a634182e168c4efc3359)
225225
使用 `git clean -f -d` 命令来移除工作目录中所有未追踪的文件以及空的子目录。
226226
`-f` 意味着 '强制' 或 “确定移除”。
227227

228-
如果只是想要看看它会做什么,可以使用 `-n` 选项来运行命令,这意味着 ``做一次演习然后告诉你 _将要_ 移除什么''
228+
如果只是想要看看它会做什么,可以使用 `-n` 选项来运行命令,这意味着 做一次演习然后告诉你 _将要_ 移除什么
229229

230230
[source,console]
231231
----
@@ -256,7 +256,7 @@ Would remove tmp/
256256
----
257257

258258
如果不知道 `git clean` 命令将会做什么,在将 `-n` 改为 `-f` 来真正做之前总是先用 `-n` 来运行它做双重检查。
259-
另一个小心处理过程的方式是使用 `-i` 或 ``interactive'' 标记来运行它。
259+
另一个小心处理过程的方式是使用 `-i` 或 interactive 标记来运行它。
260260

261261
这将会以交互模式运行 clean 命令。
262262

0 commit comments

Comments
 (0)