I made a mistake when rebased commits on my branch and then pushing everything. Afterwards I made a few more commits and tried to merge master. I solved all the conflicts and now git status gives me "Everything uptodate".
However when I made a closer look into some files I noticed that on my branch they preserve older version of code. I assume that is because of the rebased commits which are now kinda "newer" than the actual newer code.
How to deal with this kind of mess? Should one checkout the commit before the rebase and then manually add all the developments again?