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

RM: 删除bzr和tfs 同原版保持一致 #471

Merged
merged 2 commits into from
Nov 30, 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 C-git-commands.asc
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ Git 有一些可以与其他的版本控制系统集成的命令。

在 <<ch07-git-tools#_removing_file_every_commit>> 一节中,我们解释了此命令,并探究了其他几个选项,例如 `--commit-filter`,`--subdirectory-filter` 及 `--tree-filter` 。

在 <<ch09-git-and-other-systems#_git_p4>> 和 <<ch09-git-and-other-systems#_git_tfs>> 的章节中我们使用它来修复已经导入的外部仓库。
在 <<ch09-git-and-other-systems#_git_p4>> 的章节中我们使用它来修复已经导入的外部仓库。

=== 底层命令

Expand Down
2 changes: 1 addition & 1 deletion book/01-introduction/sections/about-version-control.asc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ image::images/centralized.png[集中化的版本控制图解]

(((version control,distributed)))
于是分布式版本控制系统(Distributed Version Control System,简称 DVCS)面世了。
在这类系统中,像 Git、Mercurial、Bazaar 以及 Darcs 等,客户端并不只提取最新版本的文件快照,
在这类系统中,像 Git、Mercurial 以及 Darcs 等,客户端并不只提取最新版本的文件快照,
而是把代码仓库完整地镜像下来,包括完整的历史记录。
这么一来,任何一处协同工作用的服务器发生故障,事后都可以用任何一个镜像出来的本地仓库恢复。
因为每一次的克隆操作,实际上都是一次对代码仓库的完整备份。
Expand Down
2 changes: 1 addition & 1 deletion book/01-introduction/sections/what-is-git.asc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
==== 直接记录快照,而非差异比较

Git 和其它版本控制系统(包括 Subversion 和近似工具)的主要差别在于 Git 对待数据的方式。
从概念上来说,其它大部分系统以文件变更列表的方式存储信息,这类系统(CVS、Subversion、Perforce、Bazaar 等等)
从概念上来说,其它大部分系统以文件变更列表的方式存储信息,这类系统(CVS、Subversion、Perforce 等等)
将它们存储的信息看作是一组基本文件和每个文件随时间逐步累积的差异
(它们通常称作 *基于差异(delta-based)* 的版本控制)。

Expand Down
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 @@ -116,7 +116,7 @@ To https://github.com/tonychacon/blink
现在到 GitHub 上查看之前的项目副本,可以看到 GitHub 提示我们有新的分支,
并且显示了一个大大的绿色按钮让我们可以检查我们的改动,并给源项目创建拉取请求。

你也可以到“Branches”(分支)页面查看分支并创建拉取请求: `https://github.com/<用户名>/<项目名>/branches`
你也可以到“Branches”(分支)页面查看分支并创建拉取请求: `\https://github.com/<用户名>/<项目名>/branches`

.拉取请求按钮
image::images/blink-02-pr.png[拉取请求按钮]
Expand Down
2 changes: 1 addition & 1 deletion book/06-github/sections/3-maintaining.asc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ image::images/newrepoform.png[“new repository” 表单。]
我们不会在这里详细说明此项,如果你需要复习,去看 <<ch02-git-basics-chapter#ch02-git-basics-chapter>>。

现在你的项目就托管在 GitHub 上了,你可以把 URL 给任何你想分享的人。
GitHub 上的项目可通过 HTTP 或 SSH 访问,HTTPS 为 `https://github.com/<user>/<project_name>` ,
GitHub 上的项目可通过 HTTP 或 SSH 访问,HTTPS 为 `\https://github.com/<user>/<project_name>` ,
SSH 为 `git@github.com:<user>/<project_name>` 。
Git 可以通过以上两种 URL 进行抓取和推送,但是用户的访问权限又因连接时使用的证书不同而异。

Expand Down
2 changes: 1 addition & 1 deletion book/09-git-and-other-scms/sections/client-svn.asc
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Subversion 必须一次复制一个版本然后推送回另一个仓库——这

既然已经有了一个有写入权限的 Subversion 仓库,那么你可以开始一个典型的工作流程。
可以从 `git svn clone` 命令开始,它会将整个 Subversion 仓库导入到一个本地 Git 仓库。
需要牢记的一点是如果是从一个真正托管的 Subversion 仓库中导入,需要将 `file:///tmp/test-svn` 替换为你的 Subversion 仓库的 URL:
需要牢记的一点是如果是从一个真正托管的 Subversion 仓库中导入,需要将 `\file:///tmp/test-svn` 替换为你的 Subversion 仓库的 URL:

[source,console]
----
Expand Down
Binary file removed images/git-tfs-ct.png
Binary file not shown.
4 changes: 1 addition & 3 deletions status.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,10 @@
"sections/client-hg.asc": 100,
"sections/client-p4.asc": 100,
"sections/client-svn.asc": 100,
"sections/client-tfs.asc": 100,
"sections/import-custom.asc": 100,
"sections/import-hg.asc": 100,
"sections/import-p4.asc": 100,
"sections/import-svn.asc": 100,
"sections/import-tfs.asc": 100
"sections/import-svn.asc": 100
},
"10-git-internals": {
"1-git-internals.asc": 100,
Expand Down
Loading