Reputation: 12579
I'm trying to clone the HTML 5 Boiler Plate from GitHub, but it's creating a folder in my directory called html5bp. What I am trying to do is clone the contents directly into the directory without creating a sub directory. Here is what I'm using:
git clone http://github.com/h5bp/html5-boilerplate.git
I know it's possible, but I'm new to using git so don't know the ins and outs of it just yet.
Upvotes: 2
Views: 3037
Reputation: 8333
You can specify the directory (which has to be empty):
git clone http://github.com/h5bp/html5-boilerplate.git mydirectory
For more help on git commands, try git help <command>
, e.g., git help clone
.
Upvotes: 5