I was doing a rebase and accidentally added a submodule edit into a commit and pushed it to remote.
I have a stack of 3 commits A->B->C. A contains the erroneous submodule edit. I'm trying to git rebase -i origin and editing A, but I'm not sure how to remove this submodule edit from the commit at this point.
What needs to be done in this situation?