Swapping the last two git commits So you made a "WIP" git commit that you didn't intend to push and then you made another commit after it. Now you'd like to undo the WIP commit but it's no longer the most recent commit. Here's how you