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
Warning - this could potentially overwrite files.
git init git remote add origin PATH/TO/REPO git fetch git checkout -t origin/master -f
Modified from @cmcginty's answer - without the -f it didn't work for me