Skip to content

Commit 0ebcc28

Browse files
committed
校对sourcerepo.sgml文件
校对sourcerepo.sgml文件
1 parent 939aab6 commit 0ebcc28

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

postgresql/doc/src/sgml/sourcerepo.sgml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515
</para>
1616
-->
1717
<para>
18-
<productname>PostgreSQL</productname> 的源代码存放和管理是
19-
通过 <productname>Git</productname> 版本控制系统。主源代码库
20-
的公共镜像是可用的; 它会在一分钟内从主源代码库同步所有更新。
18+
<productname>PostgreSQL</productname> 的源代码是通过 <productname>Git</productname> 版本控制系统
19+
来存放和管理的。主源代码库的公共镜像是可用的; 它会在一分钟内从主源代码库同步所有更新。
2120
</para>
2221

2322
<!--
@@ -30,7 +29,7 @@
3029
<para>
3130
在我们的wiki, <ulink
3231
url="http://wiki.postgresql.org/wiki/Working_with_Git"></ulink>,
33-
上面有一些关于使用Git的使用说明
32+
上面有一些关于如何使用Git的讨论
3433
</para>
3534

3635
<!--
@@ -55,7 +54,7 @@
5554
<!--
5655
<title>Getting The Source via <productname>Git</></title>
5756
-->
58-
<title>获得源代码通过<productname>Git</></title>
57+
<title>通过<productname>Git</></title>获得源代码
5958

6059
<!--
6160
<para>
@@ -66,7 +65,7 @@
6665
</para>
6766
-->
6867
<para>
69-
使用 <productname>Git</> 你可以从源代码库复制一份完整源代码到你的本机上,
68+
使用 <productname>Git</> 你可以从源代码库复制一份完整源代码到你的本机上,
7069
这样你就可以离线访问所有的代码历史和分支。这是开发或者测试补丁最为快捷并且灵活的方式。
7170
</para>
7271

@@ -83,7 +82,7 @@
8382
</para>
8483
-->
8584
<para>
86-
你将需要一个已经安装的<productname>Git</>, 你可以从
85+
你将需要一个安装版本的<productname>Git</>, 你可以从
8786
<ulink url="http://git-scm.com"></ulink>得到。 大多数操作系统已经默认安
8887
装有最新版的 <application>Git</> , 或者在软件包管理系统里提供了下载安装。
8988
</para>
@@ -111,7 +110,7 @@ git clone git://git.postgresql.org/git/postgresql.git
111110
git clone git://git.postgresql.org/git/postgresql.git
112111
</programlisting>
113112

114-
这将会完全拷贝源到你的本地机器上, 所以直到拷贝完成会花费一段时间,
113+
这将会完全拷贝整个仓库到你的本地机器上, 所以直到拷贝完成会花费一段时间,
115114
尤其当你的网络连接非常慢时候。 代码文件会放置在当前目录一个新的名为 <filename>postgresql</>
116115
的子目录里。
117116
</para>
@@ -131,14 +130,14 @@ git clone http://git.postgresql.org/git/postgresql.git
131130
</para>
132131
-->
133132
<para>
134-
Git的镜像同样可以通过HTTP协议来获取, 假如你的防火墙阻止你通过Git协议
135-
访问。 仅需要修改URL的协议为 <literal>http</>, 例如:
133+
Git的镜像同样可以通过HTTP协议来获取, 假如你的防火墙阻止您通过Git协议
134+
访问。 您仅需要修改URL的前缀为 <literal>http</>, 例如:
136135

137136
<programlisting>
138137
git clone http://git.postgresql.org/git/postgresql.git
139138
</programlisting>
140139

141-
HTTP协议是效率较低的相比于Git协议, 所以使用起来会更慢
140+
HTTP协议的效率相比于Git协议较低, 所以使用起来会慢一些
142141
</para>
143142
</step>
144143

@@ -154,8 +153,8 @@ git fetch
154153
</para>
155154
-->
156155
<para>
157-
每当你想在系统得到最近更新时, <command>cd</>
158-
到源目录, 运行
156+
只您你想在系统里得到最近更新, 在仓库里输入<command>cd</>
157+
, 并运行
159158

160159
<programlisting>
161160
git fetch
@@ -172,7 +171,7 @@ git fetch
172171
</para>
173172
-->
174173
<para>
175-
<productname>Git</> 不仅仅获取资源,还能做很多其它的事情。更多详情,
174+
<productname>Git</> 我们还能做更多其它的事而不仅仅是获取资源。更多详情,
176175
参考 <productname>Git</> 手册页, 或者查看
177176
网站 <ulink url="http://git-scm.com"></>。
178177
</para>

0 commit comments

Comments
 (0)