Brainpick please :)
I've got a project which I'd like to move to a private GIT repository. I've started using Git for a couple of other projects, and it seems like a decent idea to try and solidify the current version control mess for this one.
At the moment, I've got several older archived versions (Just zipped up....) plus the current 'working' set.
I'd like to migrate this into a set of GIT branches (One for each 'gold' version so to speak) My plan looks a little like this at the moment:
- Extract the oldest version into a new directory, & create a GIT repository on this directory.
- Commit all changes and create a new branch.
- Delete the first set of files, and extract set #2.
- Commit these to master and create another branch.
- I should then end up at a stage where I've got several older branches and the current working master?
Is there a better way to be doing this? I know I'll basically end up with one branch per commit for the first few commits, but I can live with that.