From: Carl Worth Date: Fri, 28 Sep 2007 16:02:32 +0000 (-0700) Subject: Make it more clear that the git-clone example is intended to actually be performed X-Git-Url: https://git.cworth.org/git?p=hgbook-git;a=commitdiff_plain;h=636ecc870fe4b57e7e606e8690f20a462845865e Make it more clear that the git-clone example is intended to actually be performed --- diff --git a/tour.mdwn b/tour.mdwn index e9e0277..e302d61 100644 --- a/tour.mdwn +++ b/tour.mdwn @@ -146,13 +146,18 @@ a directory tree in your filesystem that git treats as special. You can rename or delete a repository any time you like, using either the command line or your file browser. -#### 2.3.1 Making a local copy of a repository - -Copying a repository is just a little bit special. While you could use -a normal file copying command to make a copy of a repository, it’s -best to use a built-in command that git provides. This command -is called “git clone”, because it creates an identical copy of an -existing repository. +#### 2.3.1 Creating a local copy of a remote repository + +As suggested, a repository can be copied through normal file-copying +commands. But git also provides a "git clone" tool for copying a +repository. This provides a means of copying a repository over the +network, and is also useful with a local repository since it is much +more efficient than creating a normal copy, (creating a local clones +is blazingly fast). + +We've assembled a simple repository that will be used in the examples +throughout this chapter. Go ahead and clone this repository now so +that you will be able to follow along: $ git clone git://cworth.org/git/hello Initialized empty Git repository in /tmp/hello/.git/