Update progit.org links to git-scm.com book version
Quickening event to redirect the links that used to be at progit.org to their new home at the git-scm.com book section. Deals with the English language links only.
This commit is contained in:
@@ -24,7 +24,7 @@ layout: reference
|
||||
<h2>
|
||||
<span class="docs">
|
||||
<a target="new" href="http://git-scm.com/docs/git-init">docs</a>
|
||||
<a target="new" href="http://progit.org/book/ch2-1.html#initializing_a_repository_in_an_existing_directory">book</a>
|
||||
<a target="new" href="http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository#Initializing-a-Repository-in-an-Existing-Directory">book</a>
|
||||
</span>
|
||||
<a name="init">git init</a>
|
||||
<span class="desc">initializes a directory as a Git repository</span>
|
||||
@@ -75,7 +75,7 @@ Initialized empty Git repository in /opt/konichiwa/.git/
|
||||
<h2>
|
||||
<span class="docs">
|
||||
<a target="new" href="http://git-scm.com/docs/git-clone">docs</a>
|
||||
<a target="new" href="http://progit.org/book/ch2-1.html#cloning_an_existing_repository">book</a>
|
||||
<a target="new" href="http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository#Cloning-an-Existing-Repository">book</a>
|
||||
</span>
|
||||
<a name="clone">git clone</a>
|
||||
<span class="desc">copy a git repository so you can add to it</span>
|
||||
@@ -84,7 +84,7 @@ Initialized empty Git repository in /opt/konichiwa/.git/
|
||||
<p>
|
||||
If you need to collaborate with someone on a project, or if you want to
|
||||
get a copy of a project so you can look at or use the code, you will
|
||||
clone it. You simply run the <code>git clone [url]</code> command with
|
||||
clone it. You simply run the <code>git clone [url]</code> command with
|
||||
the URL of the project you want to copy.
|
||||
</p>
|
||||
|
||||
@@ -120,14 +120,14 @@ config index <span class="blue">objects</span>
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
By default, Git will create a directory that is the same name as the
|
||||
By default, Git will create a directory that is the same name as the
|
||||
project in the URL you give it - basically whatever is after the last slash
|
||||
of the URL. If you want something different, you can just put it at the
|
||||
end of the command, after the URL.
|
||||
</p>
|
||||
|
||||
<p class="nutshell">
|
||||
<strong>In a nutshell</strong>, you use <code>git clone</code> to get a
|
||||
<strong>In a nutshell</strong>, you use <code>git clone</code> to get a
|
||||
local copy of a Git repository so you can look at it or start modifying
|
||||
it.</p>
|
||||
|
||||
|
Reference in New Issue
Block a user