For anyone else who ends up here because they can't get a clone into the 
htdocs directory of Apache, the problem I had was that Apache is in the 
Windows7 Program Files directory. This directory is a system directory and 
requires Admin permission to add/modify files.  Hence, the clone fails, and 
no new directory was created.

When I moved the project directory into the C:/Users/ etc.  part of the 
directory tree and reconfigured Apache to serve files from there, instead 
of from htdocs,  then the clone succeeded and the newProject directory was 
created, etc.

hope this helps 

On Wednesday, April 2, 2014 9:38:28 AM UTC-4, Michael Laird wrote:
> I know that git makes its own directories and files. Even after lots of 
> reading and trials, I don't know if a git clone will make a new Windows 
> directory (equivalent of a right click on a folder/directory and then New 
> Folder) when it makes a git directory.
> I want to make a new directory in my Apache htdocs directory, so Apache 
> can web serve it.  If I have the GitBash prompt at 
> C:/my/path/apache2/htdocs and git sees it as 'empty' and I then use the git 
> command
> git clone git:// newProject
> will git create a new Windows folder/directory named newProject under 
> htdocs, put the contents of angular-seed in it, and name that directory 
> newProject rather than angular-seed in Windows directory structure and in 
> git?  If not, how do I clone angular-seed into a Windows folder named 
> newProject?

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to