I am working on the same branch as my colleagues. Now I have committed some files and sent for code review and so has some other co-worker. Now he pushes his code before I do. I now need to pull his changes back and then add my changes. But it's already committed.
How do I get his changes and then add my changes without the history looking bad and me having to jump hoops? I am very new to git.