Possible duplicate:
In git, is there an easy way to inject an unrelated branch into the repository?
I have a small project that I worked on without any version control software, and I ended up with three different versions of the same script, where each of them does something a little different from the others. I initialized the git repository with one of the versions, and I really would like to commit each of the other two without parents. In this way, I can combine the differences as if each of the three versions of the script were the tips of different branches.
I'm not even sure if this is necessarily a reasonable or sensible way to solve this problem. Any advice on how to do this, or advice on the best way to handle this situation, will be appreciated.
git
user648855 Apr 16 '11 at 10:11 2011-04-16 22:11
source share