I have directory A with files matching directory B. Directory A may have other needed files. Directory B is a git repo.
I want to clone directory B to directory A bu
Here's what I ended up doing when I had the same problem (at least I think it's the same problem). I went into directory A and ran git init
.
Since I didn't want the files in directory A to be followed by git, I edited .gitignore and added the existing files to it. After this I ran git remote add origin '
et voíla, B is "cloned" into A without a single hiccup.