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
Ok, I post the right answer for my question based on Adam Dymitruk and Eugene Sajine answers. Thanks everyone for the support :)
.svn directories in working copy directory;initialize new git repository in the working copy directory
cd /path/to/my/project
git init
add git remote repository and fetch it
git remote add origin url-to-your-remote
git fetch origin
reset working copy to remote repository
git reset --hard origin/master
At the end local repository will be synchronized with remote repository.