I have a "big" file containing two python classes, and I want to split this file in two, one file for each class.
One solution would consist of copying the content of the classes in two new files and then deleting the first one, but this would induce a huge delta in history, and won't keep track of the previous states of the original file (as it has been deleted)
I want to split the file in two such that the deltas between the two states have only two lines, see the linked picture, I hope I made it clear enough...
Is it possible ?
NB : one intermediary way would consist of cutting and pasting only the second part of the file, and then using git mv
so we would keep track of half of the file, but still we would have a "huge" delta in the history, which I'm trying not to have.