Re: [git-users] Re: git clone a directory into a new local directory with a new name

2014-03-26 Thread Gergely Polonkai
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 Laird

Re: [git-users] Re: git clone a directory into a new local directory with a new name

2014-03-26 Thread Nelson Efrain A. Cruz
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] =

Re: [git-users] Re: git clone a directory into a new local directory with a new name

2014-03-26 Thread Michael Laird
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,

[git-users] Re: git clone a directory into a new local directory with a new name

2014-03-26 Thread Michael Laird
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

[git-users] Re: git clone a directory into a new local directory with a new name

2014-03-26 Thread Michael Laird
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

[git-users] Re: git clone a directory into a new local directory with a new name

2014-03-25 Thread Michael Laird
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

[git-users] Re: git clone a directory into a new local directory with a new name

2014-03-25 Thread Michael Laird
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