OK, turns out Gergely's suggestion to use rm -rf subDirectory works, and
removes the directory and all its files. The GitBash pointer has to be on
the directory that contains the subDirectory. I was earlier trying it while
pointing to the subDirectory, and it fails there. After removing all the
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
--ig
Gergely,
Thanks. I actually have 2 directories from failed attempts last week. One
of them was empty and rmdir newProject2 worked - hurray - to remove that
empty directory.
The other directory, newProject1, has 2 sub-directories that ls says have
files in them. Git thinks they are not empty, thoug
If you can't find a solution maybe you can try in [1], the problem seems to
be specific to Windows and also you need to learn basics commands to play
around in a terminal, think that when you are in git shell you are in a
emulated *nix terminal
[1] = https://groups.google.com/forum/#!forum/msysgit
Try removing the directory with "rmdir newDirectory" (without git). If that
fails, newDirectory is obviously not empty. In that case you should check
the contents of the dir with "ls -la newDirectory", and/or remove it with
"rm -rf newDirectory".
Cheers,
Gergely
On 26 March 2014 02:00, Michael L
I don't have the problem solved, but here is more information, and maybe a
more targeted question.
I tried to remove the "thing" Git calls newProject with the command rm -f
newProject
I get rm: 'newProject' is a directory
I read that directories can be removed with this command git rm -r
--ca
In Nelson's first response, he suggested doing some ls commands, and I just
remembered that.
When pointing to the htdocs directory, and I do ls -la
I get - several responses listing directories and files, plus I get 2
"things" refering to my first attempts last week. They seem to be
directories