I had some unstaged files. I added them with git add. Then by mistake (I thought I had created another branch but didn't) I committed them.
So now I have one commit more in my original_branch.
How do I uncommit this last commit?
Take into account that :
- I don't want to lose my files
- My objective is to have these files as I had them in the beginning, uncommited and ready to be committed in a different branch