I usually work on the branch "dev". I have created another branch "temp". But now I would like my last commit on temp (which is clean) to totally replace my last commit on "dev" (which is really messed up). So I can continue working on "dev" with with a clean commit.
Can you help me do this ?
Thanks