One of the 2 git imaginary things (git tells me they are not directories,
nor are they repositories) under the newProject1 directory was simple. It
had something looking like a config file, which I removed with rm config,
and it had "imaginary directory headers" which I removed with rmdir
--ignore-fail-on-non-empty newProjectSub while the GitBash pointer was at
the 'directory' above it. The small imaginary one is gone.
The other larger imaginary sub-directory is a mess. Its not yet clear what
What are these things that are not directories and not repositories?
On Monday, March 24, 2014 2:17:35 PM UTC-4, Michael Laird wrote:
> I want to clone a directory of files to start my first AngularJS project
> and put those files in Apache's htdocs directory with the name of my
> project, e.g., newProject. I've used the ProGit book, a bunch of tutorials,
> and Stackoverflow, and after many hours, still don't have it.
> From all my first attempt messing around, I may have 'polluted' my git.
> With no newProject directory in the htdocs directory (ie, after deleting
> prior copies), I point git at htdocs and get a command prompt ending in
> htdocs. There, I can do a cd newProjects and get a new command prompt
> ending in htdocs/newProject, even though the directory does not exist. A
> git status returns fatal:not a git repo (or any of parent directories):
> .git I have tried rm -rf .git at that prompt and get no git response, just
> another same commmand prompt. What's going on? I have recently deleted git,
> and re-installed a new download, so maybe this is no longer an issue.
> When I add a newProject directory to htdocs and do what ProGit says
> git clone git://github.com/angular/angular-seed.git newProject
> I get fatal:destination path newProject exists and is not empty, even
> though Windows Explorer says it is an empty directory, and a git status at
> that prompt says fatal:not a repo (. . .) .git
> When I try the commands at How do you clone a git repository into a
> git clone git://github.com/angular/angular-seed:newProject htdocs
> I get fatal:destination path newProject exists and is not empty A git
> status at that prompt returns fatal: not a repository
> I have also tried the above command without the htdocs, and get the same
> Now that I have re-installed a new download of git, I need to do a correct
> command to clone the angular-seed directory of files and get it renamed
> newProject in a directory several levels down in Windows7, called
> apache2/htdos. What do I do?
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 https://groups.google.com/d/optout.