I committed some test code before merging in a remote branch. This merge had a lot of conflicts and took some serious time to put right. So my history looks something like this:
7ab562c Merge from remote branch
... whole load of commits brought across from the remote branch...
f3e71c2 Temporary TESTING COMMIT
The test code is fine, I really just want to change the commit message. Normally I'd go right ahead with a git rebase -i f3e71c2^
(since none of this has been pushed yet), but I've been told by a colleague that this will mess up the merge. I really don't want to mess up the merge :)
Is my colleague correct? And if so, is there anything I can do, or do I just need to live with this history?