Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix asciidoc formatting #473

Merged
merged 1 commit into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion book/06-github/sections/2-contributing.asc
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ Git 的伟大之处就是你可以一直重复以上操作。如果你有一个

先从如何对拉取请求或议题(Issue)进行相互引用开始。所有的拉取请求和议题在项目中都会有一个独一无二的编号。
举个例子,你无法同时拥有 3 号拉取请求和 3 号议题。如果你想要引用任何一个拉取请求或议题,
你只需要在提交或描述中输入 `#<编号>` 即可。
你只需要在提交或描述中输入 `+#<编号>+` 即可。
你也可以指定引用其他版本库的议题或拉取请求,如果你想要引用其他人对该版本库的“Fork”中的议题或拉取请求,
输入 `用户名#<编号>` ,如果在不同的版本库中,输入 `用户名/版本库名#<编号>` 。

Expand Down
4 changes: 2 additions & 2 deletions book/10-git-internals/sections/environment.asc
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ Git 用了几个变量来确定它如何与当前版本库交互。
它们会在 `.gitignore` 文件中用到,命令行里也会用到(`git add *.c`)。

*`GIT_GLOB_PATHSPECS`* 和 *`GIT_NOGLOB_PATHSPECS`* 控制通配符在路径规则中的默认行为。
如果 `GIT_GLOB_PATHSPECS` 设置为 1, 通配符表现为通配符(这是默认设置); 如果 `GIT_NOGLOB_PATHSPECS` 设置为 1,通配符仅匹配字面。意思是 `*.c` 只会匹配 _文件名是_ “*.c” 的文件,而不是以 `.c` 结尾的文件。
你可以在各个路径规范中用 `:(glob)` 或 `:(literal)` 开头来覆盖这个配置,如 `:(glob)*.c` 。
如果 `GIT_GLOB_PATHSPECS` 设置为 1, 通配符表现为通配符(这是默认设置); 如果 `GIT_NOGLOB_PATHSPECS` 设置为 1,通配符仅匹配字面。意思是 `+*.c+` 只会匹配 _文件名是_ “*.c” 的文件,而不是以 `.c` 结尾的文件。
你可以在各个路径规范中用 `:(glob)` 或 `:(literal)` 开头来覆盖这个配置,如 `+:(glob)*.c+` 。

*`GIT_LITERAL_PATHSPECS`* 禁用上面的两种行为;通配符将不能用,前缀覆盖也不能用。

Expand Down