I have a branch. Halfway through, I noticed that git was not tracking the file that was supposed to be, and so I added it as part of the commit and continued my work. Now I am doing git bisect and all commits are not built before adding the file. So I think I need to split the commit that added the file into two parts: the file will also add the rest of the commit. Then I need to reorder the commits so that the add commit file is at the beginning of my branch. Is this the right decision or is there a better way to do this?
source
share