So over the last few years I've really enjoyed learning and using Git for all of my coding projects. I love having a clear timeline of all changes and seeing when a change was made.
Well, I've opened up an old project that predates my Git use. I essentially have a list of folders for each 'commit' I made over time. All together I have over 70 versions. I want to easily store this project while also keeping all of the steps without wasting an atrocious amount of space.
Is there an automated way of doing this? What I am wanting to automatically do is essentially the following:
Folders:
- '2013_08_01'
- '2013_08_04'
- '2013_08_12'
- ... and many many more (*~70)
To import into a Git repo (single branch):
- Base commit A (+ note of date) of '2013_08_01'
- Commit B with changes (+ note of date) of '2013_08_04'
- Commit C with changes (+ note of date) of '2013_08_12'
- ...
Without doing this manually, what would be a fast way of accomplishing this? All of the folders are on the same local disk.
This one-liner will do what you want