1
0
Fork 0

added all the book/docs links to basic

This commit is contained in:
Scott Chacon 2010-06-04 10:10:17 +02:00
parent a06ffee2f3
commit 17241e154f
1 changed files with 18 additions and 13 deletions

View File

@ -3,7 +3,12 @@ layout: reference
---
<div class="box">
<h2>Basic Snapshotting</h2>
<h2>
<span class="docs">
<a target="new" href="http://progit.org/book/ch2-2.html">book</a>
</span>
Basic Snapshotting
</h2>
<div class="block">
<p>
Git is all about composing and saving snapshots of your project and then
@ -33,8 +38,8 @@ layout: reference
<div class="box">
<h2>
<span class="docs">
<a href="#">docs</a> &nbsp;
<a href="#">book</a>
<a target="new" href="http://www.kernel.org/pub/software/scm/git/docs/git-add.html">docs</a> &nbsp;
<a target="new" href="http://progit.org/book/ch2-2.html#tracking_new_files">book</a>
</span>
<a name="add">git add</a>
<span class="desc">adds file contents to the staging area</span>
@ -125,8 +130,8 @@ layout: reference
<div class="box">
<h2>
<span class="docs">
<a href="#">docs</a> &nbsp;
<a href="#">book</a>
<a target="new" href="http://www.kernel.org/pub/software/scm/git/docs/git-status.html">docs</a> &nbsp;
<a target="new" href="http://progit.org/book/ch2-2.html#checking_the_status_of_your_files">book</a>
</span>
<a name="status">git status</a>
<span class="desc">view the status of your files in the working directory and staging area</span>
@ -209,8 +214,8 @@ layout: reference
<div class="box">
<h2>
<span class="docs">
<a href="#">docs</a> &nbsp;
<a href="#">book</a>
<a target="new" href="http://www.kernel.org/pub/software/scm/git/docs/git-diff.html">docs</a> &nbsp;
<a target="new" href="http://progit.org/book/ch2-2.html#viewing_your_staged_and_unstaged_changes">book</a>
</span>
<a name="diff">git diff</a>
<span class="desc">shows diff of what is staged and what is modified but unstaged</span>
@ -411,8 +416,8 @@ index 2aabb6e..2ae9ba4 100644
<div class="box">
<h2>
<span class="docs">
<a href="#">docs</a> &nbsp;
<a href="#">book</a>
<a target="new" href="http://www.kernel.org/pub/software/scm/git/docs/git-commit.html">docs</a> &nbsp;
<a target="new" href="http://progit.org/book/ch2-2.html#committing_your_changes">book</a>
</span>
<a name="commit">git commit</a>
<span class="desc">records a snapshot of the staging area</span>
@ -581,8 +586,8 @@ Further paragraphs come after blank lines.
<div class="box">
<h2>
<span class="docs">
<a href="#">docs</a> &nbsp;
<a href="#">book</a>
<a target="new" href="http://www.kernel.org/pub/software/scm/git/docs/git-reset.html">docs</a> &nbsp;
<a target="new" href="http://progit.org/book/ch2-4.html#unstaging_a_staged_file">book</a>
</span>
<a name="reset">git reset HEAD</a>
<span class="desc">unstage changes that you have staged</span>
@ -679,8 +684,8 @@ M hello.rb
<div class="box">
<h2>
<span class="docs">
<a href="#">docs</a> &nbsp;
<a href="#">book</a>
<a href="http://www.kernel.org/pub/software/scm/git/docs/git-rm.html">docs</a> &nbsp;
<a href="http://progit.org/book/ch2-2.html#removing_files">book</a>
</span>
<a name="rm-mv">git rm</a>
<span class="desc">remove files from the staging area</span>