X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=tour.mdwn;h=e302d61775e31d7decf5101179386ad1f154b91c;hb=636ecc870fe4b57e7e606e8690f20a462845865e;hp=e9e02776d86cddd7b8a19c9bd8815303584cfc4c;hpb=5bbd7299aa73ba64a701912203c84c733697efcb;p=hgbook-git 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/