Skip to content

Commit 161fbd6

Browse files
committed
Review 09-git-and-other-scms import-tfs
1 parent adef749 commit 161fbd6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

book/09-git-and-other-scms/sections/import-tfs.asc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
==== TFS
33

44
(((TFS)))(((Importing, from TFS)))
5-
如果你的团队正在将他们的源代码管理从 TFVC 转换为 Git,会需要能得到的最高保真度的转换
6-
这意味着,在我们之前交互章节介绍的 git-tfs 与 git-tf ,我们在本部分只能介绍 git-tfs,因为 git-tfs 支持分支,使用 git-tf 代价太大。
5+
如果你的团队正在将他们的源代码管理从 TFVC 转换为 Git,你们会想要最高程度的无损转换
6+
这意味着,虽然我们在之前的交互章节介绍了 git-tfs 与 git-tf 两种工具,我们在本部分只能介绍 git-tfs,因为 git-tfs 支持分支,而使用 git-tf 代价太大。
77

88
[NOTE]
99
====
@@ -47,7 +47,7 @@ DOMAIN\username = User Name <[email protected]>
4747
PS> git tfs clone --with-branches --authors=AUTHORS https://username.visualstudio.com/DefaultCollection $/project/Trunk project_git
4848
----
4949

50-
接下来想要从提交信息底部清理 `git-tfs-id` 区块。
50+
接下来要从提交信息底部清理 `git-tfs-id` 区块。
5151
下面的命令会处理:
5252

5353
[source,powershell]
@@ -57,4 +57,4 @@ PS> git filter-branch -f --msg-filter 'sed "s/^git-tfs-id:.*$//g"' -- --all
5757

5858
那会使用 Git 终端环境中的 `sed` 命令来将所有以 ``git-tfs-id:'' 开头的行替换为 Git 会忽略的空白。
5959

60-
一旦那些全部完成,你就准备好增加一个新的远程仓库,推送所有你的分支上去,然后你的团队就可以开始用 Git 工作了。
60+
那些全部完成后,你就准备好增加一个新的远程仓库,推送你所有的分支上去,然后你的团队就可以开始用 Git 工作了。

0 commit comments

Comments
 (0)