Information Technology Reference
In-Depth Information
You want the clone to be saved directly under
git-recipes/02-02/
, without
having an additional
aui/
subdirectory.
Solution
Start the command line and create a
git-recipes/02-02/
directory:
$ cd git-recipes
$ mkdir 02-02
Change your current directory to
02-02/
:
$ cd 02-02
Then run the command shown in
Listing 2-2
. Notice the last parameter—a dot. This
dot represents a current directory, thus the clone will be placed directly under
git-
recipes/02-02/
. Without the dot the cloned repository would be stored in a sub-
directory
git-recipes/02-02/aui/
.
Listing 2-2.
The command to clone Atlassian AUI repository
$ git clone
https://bitbucket.org/atlassian/aui.git
.
Note
The syntax for the git clone command is:
$ git clone URL [direct-
ory]
. If used, the optional
[directory]
parameter sets the target directory for the
cloned repository.
How It Works
The main page of Atlassian AUI repository is shown in
Figure 2-3
.