I need to associate a clean unversioned code to an existing git remote repository.
I explain better my situation. My project is moved from svn to git. I have a svn
Would the following work? I tried it on one of my projects and it worked.
1) Clone the git repository to a location different from the directory that contains the unversioned code.
2) Copy the .git folder from the directory created as a result of (1) to the directory that contains the unversioned code.
This effectively achieved for me what Adam Dymitruk steps in his answer above.