I have two git repos, lets call them A and B. I want B to be the same as A so I would like to copy A switch the repo it thinks its in, then commit and push the changes to B.
B already has code that is fairly similar to A, and I would like to keep the history. A has hidden files that need to be copied (less .git and .gitignore)