15
15
</para>
16
16
-->
17
17
<para>
18
- <productname>PostgreSQL</productname> 的源代码存放和管理是
19
- 通过 <productname>Git</productname> 版本控制系统。主源代码库
20
- 的公共镜像是可用的; 它会在一分钟内从主源代码库同步所有更新。
18
+ <productname>PostgreSQL</productname> 的源代码是通过 <productname>Git</productname> 版本控制系统
19
+ 来存放和管理的。主源代码库的公共镜像是可用的; 它会在一分钟内从主源代码库同步所有更新。
21
20
</para>
22
21
23
22
<!--
30
29
<para>
31
30
在我们的wiki, <ulink
32
31
url="http://wiki.postgresql.org/wiki/Working_with_Git"></ulink>,
33
- 上面有一些关于使用Git的使用说明 。
32
+ 上面有一些关于如何使用Git的讨论 。
34
33
</para>
35
34
36
35
<!--
55
54
<!--
56
55
<title>Getting The Source via <productname>Git</></title>
57
56
-->
58
- <title>获得源代码通过 <productname>Git</></title>
57
+ <title>通过 <productname>Git</></title>获得源代码
59
58
60
59
<!--
61
60
<para>
66
65
</para>
67
66
-->
68
67
<para>
69
- 使用 <productname>Git</> 你可以从源代码库复制一份完整源代码到你的本机上,
68
+ 使用 <productname>Git</> 你可以从源代码库复制一份完整源代码到你的本机上,
70
69
这样你就可以离线访问所有的代码历史和分支。这是开发或者测试补丁最为快捷并且灵活的方式。
71
70
</para>
72
71
83
82
</para>
84
83
-->
85
84
<para>
86
- 你将需要一个已经安装的 <productname>Git</>, 你可以从
85
+ 你将需要一个安装版本的 <productname>Git</>, 你可以从
87
86
<ulink url="http://git-scm.com"></ulink>得到。 大多数操作系统已经默认安
88
87
装有最新版的 <application>Git</> , 或者在软件包管理系统里提供了下载安装。
89
88
</para>
@@ -111,7 +110,7 @@ git clone git://git.postgresql.org/git/postgresql.git
111
110
git clone git://git.postgresql.org/git/postgresql.git
112
111
</programlisting>
113
112
114
- 这将会完全拷贝源到你的本地机器上 , 所以直到拷贝完成会花费一段时间,
113
+ 这将会完全拷贝整个仓库到你的本地机器上 , 所以直到拷贝完成会花费一段时间,
115
114
尤其当你的网络连接非常慢时候。 代码文件会放置在当前目录一个新的名为 <filename>postgresql</>
116
115
的子目录里。
117
116
</para>
@@ -131,14 +130,14 @@ git clone http://git.postgresql.org/git/postgresql.git
131
130
</para>
132
131
-->
133
132
<para>
134
- Git的镜像同样可以通过HTTP协议来获取, 假如你的防火墙阻止你通过Git协议
135
- 访问。 仅需要修改URL的协议为 <literal>http</>, 例如:
133
+ Git的镜像同样可以通过HTTP协议来获取, 假如你的防火墙阻止您通过Git协议
134
+ 访问。 您仅需要修改URL的前缀为 <literal>http</>, 例如:
136
135
137
136
<programlisting>
138
137
git clone http://git.postgresql.org/git/postgresql.git
139
138
</programlisting>
140
139
141
- HTTP协议是效率较低的相比于Git协议, 所以使用起来会更慢 。
140
+ HTTP协议的效率相比于Git协议较低, 所以使用起来会慢一些 。
142
141
</para>
143
142
</step>
144
143
@@ -154,8 +153,8 @@ git fetch
154
153
</para>
155
154
-->
156
155
<para>
157
- 每当你想在系统得到最近更新时, <command>cd</>
158
- 到源目录, 运行 :
156
+ 只您你想在系统里得到最近更新, 在仓库里输入 <command>cd</>
157
+ , 并运行 :
159
158
160
159
<programlisting>
161
160
git fetch
@@ -172,7 +171,7 @@ git fetch
172
171
</para>
173
172
-->
174
173
<para>
175
- <productname>Git</> 不仅仅获取资源,还能做很多其它的事情 。更多详情,
174
+ <productname>Git</> 我们还能做更多其它的事而不仅仅是获取资源 。更多详情,
176
175
参考 <productname>Git</> 手册页, 或者查看
177
176
网站 <ulink url="http://git-scm.com"></>。
178
177
</para>
0 commit comments