Information Technology Reference
In-Depth Information
Then execute the command as shown in Listing 2-1 .
Listing 2-1. The command to clone jQuery repository
$ git clone https://github.com/jquery/jquery.git
Caution During a clone command, git copies a complete repository from its original
location to your local storage system. Depending on your bandwidth and the project
size, this operation can take quite some time. But don't worry about it. The cloning is
done only once, when you set up your local repository. All subsequent data transfers are
very efficient because git transfers only the missing portions of data. The internals of
cloning are explained in Chapter 10 (Recipe 10-1).
After you run the command shown in Listing 2-1 , your git-recipes/02-01/
directory will contain files and directories that are shown in Figure 2-1 . Notice that
jQuery is stored under the subdirectory jquery/ and not just within git-re-
cipes/02-01/ .
 
 
 
Search WWH ::




Custom Search