diff --git a/LICENSE.md b/LICENSE.md index 7ec9319..e2e570f 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -4,7 +4,7 @@ The prose, course text, slide layouts, class outlines, diagrams, HTML, CSS, and ------------------------ # Attribution 3.0 Unported (CC BY 3.0) -This is a [human-readable summary](http://creativecommons.org/licenses/by/3.0/deed.en_US) of the [Legal Code (the full license)](http://creativecommons.org/licenses/by/3.0/legalcode). +This is a [human-readable summary](https://creativecommons.org/licenses/by/3.0/deed.en_US) of the [Legal Code (the full license)](https://creativecommons.org/licenses/by/3.0/legalcode). ## You are free: @@ -33,7 +33,7 @@ Notice — For any reuse or distribution, you must make clear to others the lice # Attribution 3.0 Unported (CC BY 3.0) -http://creativecommons.org/licenses/by/3.0/legalcode +https://creativecommons.org/licenses/by/3.0/legalcode CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM ITS USE. @@ -100,4 +100,4 @@ Creative Commons Notice Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor. Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, Creative Commons does not authorize the use by either party of the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time. For the avoidance of doubt, this trademark restriction does not form part of this License. -Creative Commons may be contacted at http://creativecommons.org/. +Creative Commons may be contacted at https://creativecommons.org/. diff --git a/README.md b/README.md index cb8e95a..199a0ad 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ may be trying to do. If you would like to know more about a command listed, each command links to both the official manual page and its relevant chapter -in the [Pro Git book](http://git-scm.com/book). +in the [Pro Git book](https://git-scm.com/book). ## Contributing diff --git a/basic/index.html b/basic/index.html index 9e1dac8..f03a463 100644 --- a/basic/index.html +++ b/basic/index.html @@ -5,7 +5,7 @@
There are two main uses of the git diff command. One use we
will describe here, the other we will describe later in the
- "Inspection and Comparison"
+ "Inspection and Comparison"
section. The way we're going to use it here is to describe the
changes that are staged or modified on disk but unstaged.
Without arguments, git branch will list out the local
branches that you have. The branch that you are currently working on will
have a star next to it and if you have
- coloring turned on,
+ coloring turned on,
will show the current branch in green.
You can see that Git inserts standard merge conflict markers, much like Subversion, into files when it gets a merge conflict. Now it's up to us to resolve them. We will do it manually here, but check out - git mergetool + git mergetool if you want Git to fire up a graphical mergetool (like kdiff3, emerge, p4merge, etc) instead.
@@ -519,8 +519,8 @@- $ wget http://example.com/project.2010-06-01.zip + $ wget https://example.com/project.2010-06-01.zip $ unzip project.2010-06-01.zip $ cp -R project.2010-06-01 project-my-copy $ cd project-my-copy diff --git a/inspect/index.html b/inspect/index.html index 32945eb..d449742 100644 --- a/inspect/index.html +++ b/inspect/index.html @@ -5,7 +5,7 @@- book + book Inspection and Comparison
@@ -30,8 +30,8 @@
- docs - book + docs + book git log filter your commit history @@ -309,8 +309,8 @@
And that's it! For more information, try reading the -Pro Git book.
+Pro Git book. diff --git a/remotes/index.html b/remotes/index.html index a4c7dfc..a64bacc 100644 --- a/remotes/index.html +++ b/remotes/index.html @@ -5,7 +5,7 @@- book + book Sharing and Updating Projects
@@ -43,8 +43,8 @@
- docs - book + docs + book git remote list, add and delete remote repository aliases @@ -254,8 +254,8 @@
- docs - book + docs + book git fetch download new branches and data from a remote repository @@ -265,8 +265,8 @@
- docs - book + docs + book git pull fetch from a remote repo and try to merge into the current branch @@ -290,7 +290,7 @@
fetchandmergecommands separately involves less magic and less problems, but if you like the idea ofpull, you can read about it in more detail in the - official docs. + official docs.Assuming you have a remote all set up and you want to pull in updates, you @@ -350,8 +350,8 @@
diff --git a/zh/basic/index.html b/zh/basic/index.html index ecb2448..3c1c398 100644 --- a/zh/basic/index.html +++ b/zh/basic/index.html @@ -5,7 +5,7 @@- docs - book + docs + book git push push your new branches and data to a remote repository diff --git a/zh/about.html b/zh/about.html index 0cc739c..9630b89 100644 --- a/zh/about.html +++ b/zh/about.html @@ -5,5 +5,5 @@
谁的作品?
Git 参考手册是 Github 项目组的成果。
-逸才在 Git Reference 的基础上做了中文翻译。
+逸才在 Git Reference 的基础上做了中文翻译。
- 书 + 书 基本快照
@@ -30,8 +30,8 @@
- 文档 - 书 + 文档 + 书 git add 添加文件到缓存 @@ -105,8 +105,8 @@
- 文档 - 书 + 文档 + 书 git status 查看你的文件在工作目录与缓存的状态 @@ -178,8 +178,8 @@
- 文档 - 书 + 文档 + 书 git diff 显示已写入缓存与已修改但尚未写入缓存的改动的区别 @@ -187,7 +187,7 @@
@@ -364,8 +364,8 @@
git diff有两个主要的应用场景。我们将在此介绍其一, - 在 检阅与对照 一章中,我们将介绍其二。 + 在 检阅与对照 一章中,我们将介绍其二。 我们这里介绍的方式是用此命令描述已临时提交的或者已修改但尚未提交的改动。
- 文档 - 书 + 文档 + 书 git commit 记录缓存内容的快照 @@ -516,8 +516,8 @@
- 文档 - 书 + 文档 + 书 git reset HEAD 取消缓存已缓存的内容 @@ -595,8 +595,8 @@
- 文档 - 书 + 文档 + 书 git rm 将文件从缓存区移除 diff --git a/zh/branching/index.html b/zh/branching/index.html index 4b97584..0e41574 100644 --- a/zh/branching/index.html +++ b/zh/branching/index.html @@ -5,7 +5,7 @@
- 书 + 书 分支与合并
@@ -29,8 +29,8 @@
- 文档 - 书 + 文档 + 书 git branch 列出、创建与管理工作上下文 @@ -40,8 +40,8 @@
- 文档 - 书 + 文档 + 书 git checkout 切换到新的分支上下文 @@ -59,7 +59,7 @@
没有参数时,
git branch会列出你在本地的分支。你所在的分支的行首会有个星号作标记。 - 如果你开启了彩色模式,当前分支会用绿色显示。 + 如果你开启了彩色模式,当前分支会用绿色显示。@@ -200,8 +200,8 @@
- docs - book + docs + book git merge 将分支合并到你的当前分支 @@ -381,7 +381,7 @@
你可以看到,Git 在产生合并冲突的地方插入了标准的与 Subversion 很像的合并冲突标记。 轮到我们去解决这些冲突了。在这里我们就手动把它解决。如果你要 Git 打开一个图形化的合并工具, - 可以看看 git 合并工具 + 可以看看 git 合并工具 (比如 kdiff3、emerge、p4merge 等)。
@@ -429,8 +429,8 @@
- 文档 - 书 + 文档 + 书 git log 显示一个分支中提交的更改记录 @@ -620,8 +620,8 @@
- 文档 - 书 + 文档 + 书 git tag 给历史记录中的某个重要的一点打上标签 diff --git a/zh/creating/index.html b/zh/creating/index.html index 0f4e05b..64a2ab9 100644 --- a/zh/creating/index.html +++ b/zh/creating/index.html @@ -19,8 +19,8 @@
获取与创建项目
- 文档 - 书 + 文档 + 书 git init 将一个目录初始化为 Git 仓库 @@ -69,8 +69,8 @@
@@ -47,7 +47,7 @@- 文档 - 书 + 文档 + 书 git clone 复制一个 Git 仓库,以上下其手 diff --git a/zh/index.html b/zh/index.html index 2c45e46..270dd98 100644 --- a/zh/index.html +++ b/zh/index.html @@ -10,7 +10,7 @@
Git 手册简介
每个章节都有到下一个章节的链接,所以本手册也可以当作一个入门指导。 - 每个页面还有一个深度 Git 文档阅读的链接,比如官方的使用手册页面或者 《Pro Git》 + 每个页面还有一个深度 Git 文档阅读的链接,比如官方的使用手册页面或者 《Pro Git》 书中的相关章节,以便于你学习了解更多的 Git 命令。首先,我们要从如何以 Git 的思维方式管理源代码开始。
如何以 Git 的方式思考
- $ wget http://example.com/project.2010-06-01.zip + $ wget https://example.com/project.2010-06-01.zip $ unzip project.2010-06-01.zip $ cp -R project.2010-06-01 project-my-copy $ cd project-my-copy diff --git a/zh/inspect/index.html b/zh/inspect/index.html index 0c5ae53..1641c17 100644 --- a/zh/inspect/index.html +++ b/zh/inspect/index.html @@ -5,7 +5,7 @@- 书 + 书 检查与比较
@@ -26,8 +26,8 @@
- 文档 - 书k + 文档 + 书k git log 过滤你的提交历史记录 @@ -293,8 +293,8 @@
就是这样了! 请阅读 -《Pro Git》 以获得更多信息。
+《Pro Git》 以获得更多信息。 diff --git a/zh/remotes/index.html b/zh/remotes/index.html index 8489e12..7d74c78 100644 --- a/zh/remotes/index.html +++ b/zh/remotes/index.html @@ -5,7 +5,7 @@- 书 + 书 分享与更新项目
@@ -38,8 +38,8 @@
- 文档 - 书 + 文档 + 书 git remote 罗列、添加和删除远端仓库别名 @@ -147,8 +147,8 @@