File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
05-distributed-git/sections
08-customizing-git/sections
09-git-and-other-scms/sections Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ a6b4c97498bd301d84096da251c98a07c7723e65 beginning write support
141
141
142
142
现在,假设在 v1.2 时你忘记给项目打标签,也就是在 “updated rakefile” 提交。
143
143
你可以在之后补上标签。
144
- 要在那个提交上打标签,你需要在命令的末尾指定提交的校验和(或部分校验和):
144
+ 要在那个提交上打标签,你需要在命令的末尾指定提交的校验和(或部分校验和):
145
145
146
146
[source,console]
147
147
----
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ image::images/integration-manager.png[集成管理者工作流。]
67
67
被称为副官(lieutenant)的各个集成管理者分别负责集成项目中的特定部分。
68
68
所有这些副官头上还有一位称为司令官(dictator)的总集成管理者负责统筹。
69
69
司令官维护的仓库作为参考仓库,为所有协作者提供他们需要拉取的项目代码。
70
- 整个流程看起来是这样的(见 <<rwfdiag_c>> ):
70
+ 整个流程看起来是这样的(见 <<rwfdiag_c>> ):
71
71
72
72
1. 普通开发者在自己的特性分支上工作,并根据 `master` 分支进行变基。
73
73
这里是司令官的 `master` 分支。
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Git 允许你通过几种方法来指明特定的或者一定范围内的提交
13
13
14
14
Git 十分智能,你只需要提供 SHA-1 的前几个字符就可以获得对应的那次提交,当然你提供的 SHA-1 字符数量不得少于 4 个,并且没有歧义——也就是说,当前仓库中只有一个对象以这段 SHA-1 开头。
15
15
16
- 例如查看一次指定的提交,假设你执行 `git log` 命令来查看之前新增一个功能的那次提交:
16
+ 例如查看一次指定的提交,假设你执行 `git log` 命令来查看之前新增一个功能的那次提交:
17
17
18
18
[source,console]
19
19
----
@@ -90,7 +90,7 @@ SHA-1 摘要长度是 20 字节,也就是 160 位。
90
90
91
91
指明一次提交最直接的方法是有一个指向它的分支引用。
92
92
这样你就可以在任意一个 Git 命令中使用这个分支名来代替对应的提交对象或者 SHA-1 值。
93
- 例如,你想要查看一个分支的最后一次提交的对象,假设 `topic1` 分支指向 `ca82a6d` ,那么以下的命令是等价的:
93
+ 例如,你想要查看一个分支的最后一次提交的对象,假设 `topic1` 分支指向 `ca82a6d` ,那么以下的命令是等价的:
94
94
95
95
[source,console]
96
96
----
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ README
177
177
lib/test.rb
178
178
----
179
179
180
- 使用 `get_acl_access_data` 返回的 ACL 结构来一一核对每次提交修改的文件列表,就能找出该用户是否有权限推送所有的提交内容:
180
+ 使用 `get_acl_access_data` 返回的 ACL 结构来一一核对每次提交修改的文件列表,就能找出该用户是否有权限推送所有的提交内容:
181
181
182
182
[source,ruby]
183
183
----
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Git-tf(主页在 https://gittf.codeplex.com[])是一个 Java 项目,因此
31
31
====
32
32
你需要有一个基于 TFVC 的仓库来执行后续的指令。
33
33
现实中它们并没有 Git 或 Subversion 仓库那样多,所以你可能需要创建一个你自己的仓库。
34
- Codeplex( https://www.codeplex.com[] )或 Visual Studio Online( http://www.visualstudio.com[] )都是非常好的选择。
34
+ Codeplex(https://www.codeplex.com[])或 Visual Studio Online(http://www.visualstudio.com[])都是非常好的选择。
35
35
====
36
36
37
37
You can’t perform that action at this time.
0 commit comments