|
5 | 5 | <div class="box"> |
6 | 6 | <h2> |
7 | 7 | <span class="docs"> |
8 | | - <a target="new" href="http://progit.org/book/ch3-0.html">书</a> |
| 8 | + <a target="new" href="http://git-scm.com/book/en/Git-Branching">书</a> |
9 | 9 | </span> |
10 | 10 | 分支与合并 |
11 | 11 | </h2> |
|
29 | 29 | <div class="box"> |
30 | 30 | <h2> |
31 | 31 | <span class="docs"> |
32 | | - <a target="new" href="http://www.kernel.org/pub/software/scm/git/docs/git-branch.html">文档</a> |
33 | | - <a target="new" href="http://progit.org/book/ch3-2.html">书</a> |
| 32 | + <a target="new" href="http://git-scm.com/docs/git-branch">文档</a> |
| 33 | + <a target="new" href="http://git-scm.com/book/en/Git-Branching-What-a-Branch-Is">书</a> |
34 | 34 | </span> |
35 | 35 | <a name="branch">git branch</a> |
36 | 36 | <span class="desc">列出、创建与管理工作上下文</span> |
|
40 | 40 |
|
41 | 41 | <h2> |
42 | 42 | <span class="docs"> |
43 | | - <a target="new" href="http://www.kernel.org/pub/software/scm/git/docs/git-checkout.html">文档</a> |
44 | | - <a target="new" href="http://progit.org/book/ch3-2.html">书</a> |
| 43 | + <a target="new" href="http://git-scm.com/docs/git-checkout">文档</a> |
| 44 | + <a target="new" href="http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging">书</a> |
45 | 45 | </span> |
46 | 46 | <a name="checkout">git checkout</a> |
47 | 47 | <span class="desc">切换到新的分支上下文</span> |
|
59 | 59 | </h4> |
60 | 60 |
|
61 | 61 | <p>没有参数时,<code>git branch</code> 会列出你在本地的分支。你所在的分支的行首会有个星号作标记。 |
62 | | - 如果你开启了<a href="http://progit.org/book/ch7-1.html#colors_in_git">彩色模式</a>,当前分支会用绿色显示。 |
| 62 | + 如果你开启了<a href="http://git-scm.com/book/en/Customizing-Git-Git-Configuration#Colors-in-Git">彩色模式</a>,当前分支会用绿色显示。 |
63 | 63 | </p> |
64 | 64 |
|
65 | 65 | <pre> |
|
199 | 199 | <div class="box"> |
200 | 200 | <h2> |
201 | 201 | <span class="docs"> |
202 | | - <a target="new" href="http://www.kernel.org/pub/software/scm/git/docs/git-merge.html">docs</a> |
203 | | - <a target="new" href="http://progit.org/book/ch3-2.html#basic_merging">book</a> |
| 202 | + <a target="new" href="http://git-scm.com/docs/git-merge">docs</a> |
| 203 | + <a target="new" href="http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging#Basic-Merging">book</a> |
204 | 204 | </span> |
205 | 205 | <a name="merge">git merge</a> |
206 | 206 | <span class="desc">将分支合并到你的当前分支</span> |
|
380 | 380 |
|
381 | 381 | <p>你可以看到,Git 在产生合并冲突的地方插入了标准的与 Subversion 很像的合并冲突标记。 |
382 | 382 | 轮到我们去解决这些冲突了。在这里我们就手动把它解决。如果你要 Git 打开一个图形化的合并工具, |
383 | | - 可以看看 <a href="http://www.kernel.org/pub/software/scm/git/docs/git-mergetool.html">git 合并工具</a> |
| 383 | + 可以看看 <a href="http://git-scm.com/docs/git-mergetool">git 合并工具</a> |
384 | 384 | (比如 kdiff3、emerge、p4merge 等)。 |
385 | 385 | </p> |
386 | 386 |
|
|
428 | 428 | <div class="box"> |
429 | 429 | <h2> |
430 | 430 | <span class="docs"> |
431 | | - <a target="new" href="http://www.kernel.org/pub/software/scm/git/docs/git-log.html">文档</a> |
432 | | - <a target="new" href="http://progit.org/book/ch6-1.html#commit_ranges">书</a> |
| 431 | + <a target="new" href="http://git-scm.com/docs/git-log">文档</a> |
| 432 | + <a target="new" href="http://git-scm.com/book/en/Git-Tools-Revision-Selection#Commit-Ranges">书</a> |
433 | 433 | </span> |
434 | 434 | <a name="log">git log</a> |
435 | 435 | <span class="desc">显示一个分支中提交的更改记录</span> |
|
619 | 619 | <div class="box"> |
620 | 620 | <h2> |
621 | 621 | <span class="docs"> |
622 | | - <a target="new" href="http://www.kernel.org/pub/software/scm/git/docs/git-tag.html">文档</a> |
623 | | - <a target="new" href="http://progit.org/book/ch2-6.html">书</a> |
| 622 | + <a target="new" href="http://git-scm.com/docs/git-tag">文档</a> |
| 623 | + <a target="new" href="http://git-scm.com/book/en/Git-Basics-Tagging">书</a> |
624 | 624 | </span> |
625 | 625 | <a name="tag">git tag</a> |
626 | 626 | <span class="desc">给历史记录中的某个重要的一点打上标签</span> |
|
0 commit comments