How to convert release archives to git repo

Viewed 231

I have a list of release archives:

MyProject-0.9.zip
MyProject-1.0.zip
MyProject-1.3.tar.gz
MyProject-2.0.tar.gz

Each one contains a folder with the same name as the archive (without the file extension), which contains sources and makefiles and so on, like this:

MyProject-0.9.zip
- MyProject-0.9/
- MyProject-0.9/src/
- MyProject-0.9/src/mySrc.c
- MyProject-0.9/Makefile
- MyProject-0.9/LICENSE

I want to convert them into a git repo, one commit per archive.

1 Answers
Related