Im new using GIT...While working with it, i have created intermediate commits just in the case my computer crash or something like that, so i have a commit history like this in a new branch
frmClients - crud Operations final
frmClients - crud Operations tmp3
frmClients - crud Operations tmp2
frmClients - crud Operations tmp1
I would like to know if there is a way to delete those intermediate commits (from tmp1 to tmp3) and keep only the last one, i didnt merge&push it yet to the server.
Doing a revert or hard reset wont do what i want. Or mayb im using git in a wrong way?