Commit SVN working copy into Git repository

Posted by mchr on Stack Overflow See other posts from Stack Overflow or by mchr
Published on 2010-05-08T08:47:42Z Indexed on 2010/05/08 8:58 UTC
Read the original article Hit count: 245

Filed under:
|

I am currently working on a checked out SVN project along with some plugins for that project. I want to keep all of this work - including the current version of my SVN checkout within a single git repository.

I thought I had achieved this by checking in the SVN working copy to git. However, when I did a pull on a new computer the SVN working copy had been corrupted. In particular it seemed that git had not checked it any of the .svn/tmp/ and .svn/props/ folders.

I have now made a fresh checkout of the SVN project. Is there a way for me to add the ignored folders to my git repo (git status ignores them even though my .gitignore is empty) or force SVN to regenerate them?

© Stack Overflow or respective owner

Related posts about svn

Related posts about git