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
The following worked for me. First I'd make sure the files in the a directory are source-controlled:
a
$ cd a $ git init $ git add . $ git commit -m "..."
Then
$ git remote add origin https://URL/TO/REPO $ git pull origin master --allow-unrelated-histories $ git push origin master