Skip to content

Commit

Permalink
Fix failing URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
networm committed Oct 6, 2021
1 parent 56d1572 commit df7ed36
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 30 deletions.
2 changes: 1 addition & 1 deletion book/A-git-in-other-environments/sections/powershell.asc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ image::images/posh-git.png[附带了 Posh-Git 扩展包的 Powershell]
===== PowerShell Gallery
如果你有 PowerShell 5 以上或安装了 PackageManagement 的 PowerShell 4,那么可以用包管理器来安装 posh-git。

有关 PowerShell Gallery 的更多详情: https://docs.microsoft.com/en-us/powershell/gallery/overview[]
有关 PowerShell Gallery 的更多详情: https://docs.microsoft.com/en-us/powershell/scripting/gallery/overview[]
[source,powershell]
-----
> Install-Module posh-git -Scope CurrentUser -Force
Expand Down
11 changes: 5 additions & 6 deletions book/B-embedding-git/sections/dulwich.asc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Dulwich follows git design and separate two basic levels of API: plumbing and po
Here is an example of using the lower level API to access the commit message of the last commit:

[source, python]
-----
----
from dulwich.repo import Repo
r = Repo('.')
r.head()
Expand All @@ -23,22 +23,21 @@ c
c.message
# 'Add note about encoding.\n'
-----
----

To print a commit log using high-level porcelain API, one can use:

[source, python]
-----
----
from dulwich import porcelain
porcelain.log('.', max_entries=1)
#commit: 57fbe010446356833a6ad1600059d80b1e731e15
#Author: Jelmer Vernooij <[email protected]>
#Date: Sat Apr 29 2017 23:57:34 +0000
-----
----


==== Further Reading

* The official API documentation is available at https://www.dulwich.io/apidocs/dulwich.html[]
* Official tutorial at https://www.dulwich.io/docs/tutorial[] has many examples of how to do specific tasks with Dulwich
The API documentation, tutorial, and many examples of how to do specific tasks with Dulwich are available on the official website https://www.dulwich.io[].
5 changes: 2 additions & 3 deletions book/B-embedding-git/sections/jgit.asc
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ for (Ref ref : remoteRefs) {
这只是 JGit 的全部能力的冰山一角。
如果你对这有兴趣并且想深入学习,在下面可以找到一些信息和灵感。

* JGit API 在线官方文档: http://download.eclipse.org/jgit/docs/latest/apidocs[] 。
这是基本的 Javadoc ,所以你也可以在你最喜欢的 JVM IDE 上将它们安装它们到本地。
* JGit API 在线官方文档: https://www.eclipse.org/jgit/documentation[] 。
这是基本的 Javadoc ,所以你也可以在你最喜欢的 JVM IDE 上将它们安装它们到本地。
* JGit Cookbook : https://github.com/centic9/jgit-cookbook[] 拥有许多如何利用 JGit 实现特定任务的例子。
* http://stackoverflow.com/questions/6861881[] 指出了几个好的资源。
40 changes: 20 additions & 20 deletions book/contributors.asc
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ include::contributors.txt[]
3.4 分支开发工作流, https://github.com/archermind[@archermind], https://github.com/xinqiu[@xinqiu] https://github.com/wych42[@wych42] https://github.com/zwpaper[@zwpaper]
3.5 远程分支, https://github.com/networm[@networm], https://github.com/wych42[@wych42] https://github.com/zwpaper[@zwpaper] https://github.com/robinwen[@robinwen]
3.6 变基, https://github.com/hbrls[@hbrls], https://github.com/Albert[@Albert] https://github.com/networm[@networm]
3.7 总结, https://github.com/Jun995[@Jun995],
3.7 总结, Jun995@GitHub,
4. 服务器上的 Git, ,
4.1 协议, https://github.com/wych42[@wych42], https://github.com/Geno1024[@Geno1024] https://github.com/archersmind[王波] https://github.com/xinqiu[@xinqiu] https://github.com/morefreeze[@morefreeze]
4.2 在服务器上搭建 Git, https://github.com/neo1218[@neo1218], https://github.com/Geno1024[@Geno1024] https://github.com/archersmind[王波] https://github.com/xinqiu[@xinqiu]
4.2 在服务器上搭建 Git, https://github.com/misakar[@neo1218], https://github.com/Geno1024[@Geno1024] https://github.com/archersmind[王波] https://github.com/xinqiu[@xinqiu]
4.3 生成 SSH 公钥, https://github.com/oranzhang[@oranzhang], https://github.com/secondwtq[@secondwtq] https://github.com/IceNature[@IceNature] https://github.com/jeffsui[@jeffsui]
4.4 配置服务器, https://github.com/oranzhang[@oranzhang], https://github.com/Geno1024[@Geno1024] https://github.com/IceNature[@IceNature] https://github.com/secondwtq[@secondwtq]
4.5 Git 守护进程, https://github.com/branchzero[@branchzero], https://github.com/networm[@networm] https://github.com/IceNature[@IceNature] https://github.com/morefreeze[@morefreeze]
4.6 Smart HTTP, https://github.com/branchzero[@branchzero], https://github.com/sanddudu[许伟程] https://github.com/IceNature[@IceNature] https://github.com/morefreeze[@morefreeze]
4.7 GitWeb, https://github.com/sanddudu[许伟程], https://github.com/networm[@networm] https://github.com/IceNature[@IceNature] https://github.com/archersmind[王波]
4.8 GitLab, https://github.com/neo1218[@neo1218], https://github.com/IceNature[@IceNature] https://github.com/jeffsui[@jeffsui] https://github.com/networm[@networm]
4.8 GitLab, https://github.com/misakar[@neo1218], https://github.com/IceNature[@IceNature] https://github.com/jeffsui[@jeffsui] https://github.com/networm[@networm]
4.9 第三方托管的选择, https://github.com/branchzero[@branchzero], https://github.com/sanddudu[许伟程] https://github.com/networm[@networm] https://github.com/IceNature[@IceNature]
4.10 总结, https://github.com/8loser[@8loser],
5. 分布式 Git, ,
Expand Down Expand Up @@ -77,11 +77,11 @@ include::contributors.txt[]
7.10 使用 Git 调试, https://github.com/leo108[@leo108], https://github.com/archersmind[王波]
7.11 子模块, https://github.com/networm[@networm], https://github.com/IceNature[@IceNature] https://github.com/Geno1024[@Geno1024] https://github.com/OlingCat[@OlingCat]
7.12 打包, https://github.com/networm[@networm], https://github.com/xff2016[@xff2016] https://github.com/Geno1024[@Geno1024] https://github.com/IceNature[@IceNature]
7.13 替换, https://github.com/Gnahceg[@Gnahceg], https://github.com/xff2016[@xff2016] https://github.com/Geno1024[@Geno1024] https://github.com/IceNature[@IceNature] https://github.com/oldsharp[@oldsharp] https://github.com/archersmind[王波]
7.13 替换, https://github.com/gecceg[@Gnahceg], https://github.com/xff2016[@xff2016] https://github.com/Geno1024[@Geno1024] https://github.com/IceNature[@IceNature] https://github.com/oldsharp[@oldsharp] https://github.com/archersmind[王波]
7.14 凭证存储, https://github.com/leo108[@leo108],
7.15 总结, https://github.com/leo108[@leo108],
8. 自定义 Git, ,
8.1 配置 Git, https://github.com/spacewander[@spacewander], https://github.com/neo1218[@neo1218] https://github.com/IceNature[@IceNature] https://github.com/branchzero[@branchzero]
8.1 配置 Git, https://github.com/spacewander[@spacewander], https://github.com/misakar[@neo1218] https://github.com/IceNature[@IceNature] https://github.com/branchzero[@branchzero]
8.2 Git 属性, https://github.com/spacewander[@spacewander], https://github.com/IceNature[@IceNature] https://github.com/secondwtq[@secondwtq] https://github.com/oldsharp[@oldsharp]
8.3 Git 钩子, https://github.com/spacewander[@spacewander], https://github.com/IceNature[@IceNature] https://github.com/M1seRy[@M1seRy] https://github.com/secondwtq[@secondwtq]
8.4 使用强制策略的一个例子, https://github.com/spacewander[@spacewander], https://github.com/gisphm[@gisphm] https://github.com/IceNature[@IceNature] https://github.com/M1seRy[@M1seRy]
Expand All @@ -104,30 +104,30 @@ include::contributors.txt[]
A1.1 图形界面, https://github.com/hbrls[@hbrls], https://github.com/IceNature[@IceNature]
A1.2 Visual Studio 中的 Git, https://github.com/liwenzhuo[@liwenzhuo], https://github.com/devbean[@devbean] https://github.com/IceNature[@IceNature] https://github.com/Geno1024[@Geno1024]
A1.3 Visual Studio Code 中的 Git, https://github.com/ousugo[@Asurada], https://github.com/networm[@networm]
A1.4 Eclipse 中的 Git, https://github.com/WispZhan[@WispZhan], https://github.com/IceNature[@IceNature] https://github.com/Geno1024[@Geno1024] https://github.com/sanddudu[许伟程]
A1.4 Eclipse 中的 Git, https://github.com/zbin[@WispZhan], https://github.com/IceNature[@IceNature] https://github.com/Geno1024[@Geno1024] https://github.com/sanddudu[许伟程]
A1.5 IntelliJ / PyCharm / WebStorm / PhpStorm / RubyMine 中的 Git, https://github.com/ousugo[@Asurada], https://github.com/networm[@networm]
A1.6 Sublime Text 中的 Git, https://github.com/ousugo[@Asurada], https://github.com/networm[@networm]
A1.7 Bash 中的 Git, https://github.com/WispZhan[@WispZhan], https://github.com/IceNature[@IceNature] https://github.com/Geno1024[@Geno1024] https://github.com/neo1218[@neo1218]
A1.7 Bash 中的 Git, https://github.com/zbin[@WispZhan], https://github.com/IceNature[@IceNature] https://github.com/Geno1024[@Geno1024] https://github.com/misakar[@neo1218]
A1.8 Zsh 中的 Git, https://github.com/branchzero[@branchzero], https://github.com/IceNature[@IceNature] https://github.com/Geno1024[@Geno1024] https://github.com/polarlights[@polarlights]
A1.9 Powershell 中的 Git, https://github.com/branchzero[@branchzero], https://github.com/IceNature[@IceNature] https://github.com/Geno1024[@Geno1024] https://github.com/sanddudu[许伟程]
A1.10 总结, https://github.com/networm[@networm], https://github.com/IceNature[@IceNature] https://github.com/Geno1024[@Geno1024] https://github.com/sanddudu[许伟程]
A2. 将 Git 嵌入你的应用, ,
A2.1 命令行 Git 方式, https://github.com/Geno1024[@Geno1024],
A2.2 Libgit2, https://github.com/Geno1024[@Geno1024], https://github.com/IceNature[@IceNature] https://github.com/fatjyc[@fatjyc] https://github.com/branchzero[@branchzero]
A2.3 JGit, https://github.com/Geno1024[@Geno1024], https://github.com/IceNature[@IceNature] https://github.com/fatjyc[@fatjyc] https://github.com/branchzero[@branchzero]
A3. Git 命令, https://github.com/banxi1988[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gdp[@byr-gdp]
A3.1 设置与配置, https://github.com/banxi1988[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gd[@byr-gd]
A3.2 获取与创建项目, https://github.com/banxi1988[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gd[@byr-gd]
A3.3 快照基础, https://github.com/banxi1988[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gd[@byr-gd]
A3.4 分支与合并, https://github.com/banxi1988[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gd[@byr-gd]
A3.5 项目分享与更新, https://github.com/banxi1988[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gd[@byr-gd]
A3.6 检查与比较, https://github.com/banxi1988[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gd[@byr-gd]
A3.7 调试, https://github.com/banxi1988[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gd[@byr-gd]
A3.8 补丁, https://github.com/banxi1988[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gd[@byr-gd]
A3.9 邮件, https://github.com/banxi1988[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gd[@byr-gd]
A3.10 外部系统, https://github.com/banxi1988[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gd[@byr-gd]
A3.11 管理, https://github.com/banxi1988[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gd[@byr-gd]
A3.12 底层命令, https://github.com/banxi1988[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gd[@byr-gd]
A3. Git 命令, https://github.com/codetalks-new[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gdp[@byr-gdp]
A3.1 设置与配置, https://github.com/codetalks-new[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gdp[@byr-gd]
A3.2 获取与创建项目, https://github.com/codetalks-new[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gdp[@byr-gd]
A3.3 快照基础, https://github.com/codetalks-new[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gdp[@byr-gd]
A3.4 分支与合并, https://github.com/codetalks-new[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gdp[@byr-gd]
A3.5 项目分享与更新, https://github.com/codetalks-new[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gdp[@byr-gd]
A3.6 检查与比较, https://github.com/codetalks-new[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gdp[@byr-gd]
A3.7 调试, https://github.com/codetalks-new[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gdp[@byr-gd]
A3.8 补丁, https://github.com/codetalks-new[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gdp[@byr-gd]
A3.9 邮件, https://github.com/codetalks-new[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gdp[@byr-gd]
A3.10 外部系统, https://github.com/codetalks-new[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gdp[@byr-gd]
A3.11 管理, https://github.com/codetalks-new[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gdp[@byr-gd]
A3.12 底层命令, https://github.com/codetalks-new[@banxi1988], https://github.com/peizh[@peizh] https://github.com/IceNature[@IceNature] https://github.com/byr-gdp[@byr-gd]
|===

Coding.NET 也有审校贡献:
Expand Down

0 comments on commit df7ed36

Please sign in to comment.