I'm trying to rebase my branch and squash most of my commits. When I do so, I get the following error:
error: The following untracked working tree files would be overwritten by merge:
src/components/rtbDsp/RtbDspHeader.jsx
src/components/rtbDsp/RtbDspManager.jsx
Please move or remove them before you merge.
Aborting
hint: Could not execute the todo command
hint:
hint: squash cbb99a2a11499fb58a14241783d0d8fb1942a130 AM-485-dsps-edit fix case names
hint:
hint: It has been rescheduled; To edit the command before continuing, please
hint: edit the todo list first:
hint:
hint: git rebase --edit-todo
hint: git rebase --continue
Could not apply cbb99a2... AM-485-dsps-edit fix case names
I'm at a loss for what to do. I tried removing the files, but then it just happens in the next commit it tries to rebase. I tried to delete the commit, but I get the same error.
What happened is the files were renamed from 'rtbDspManager' to RtbDspManager. For some reason those files got marked as untracked, but aren't untracked anymore.