I have a git repository on unfuddle.com. I've been working locally on my windows machine using TortoiseGit. I'm ready to clone the repository onto a development server and I'm able to get all the files using

git clone [email protected]:subdomain/nameofrepository.git

but this includes the nameofrepository directory as the initial directory and everything else is inside that. I'm new to git, how can I clone the repo without getting the nameofrepository directory? I would like to clone this into public_html of my development server.

1

There are 1 best solutions below

0
On BEST ANSWER

You can give the directory name or path you want to the clone command:

git clone repo_url /path/to/public_html/