I have a few code files that are in incremental stages of development. i want to bring these code files under versioning for better management. I would use svn for this.
Since these files are lying on my computer and they are not currently a svn working copy since no version control system was used at the first instance, my question is how do i place/update them under a remotely hosted repository ?
Can we use a version control for managing code files that did not use a source control system at the start ?
Or
Basicaly what i want to know is how do you bring a current project under source control that did not use source control to manage code at the start?
If we can, then what commands/process do i need to follow to achieve this?
http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.import.html
Your IDE integration should provide a nice import option (in Eclipse, that’s Team -> Share Project).
If you have several versions of a project in different folders, you can somewhat “import” the version history manually.
Say, import the oldest version you have into SVN. Then overwrite/add the files from your second version and commit; repeat this for all versions you have and that should be it.
I think it’s probably a waste of time, though.