Let's say I just did a commit with changes to two files. Now I would like to have just one of the files in that commit, and I would like to stash the other file. So, in essence, I would like to soft reset, unstage one of the files, recommit with the same message (or maybe change it). And after all that, I will have the second file not committed, and I can stash it, or stage it and commit it anew or whatever.
I used to do that in GitX easily, by just clicking the
amend last commit checkbox. It would show the staged changes, the commit message etc, and I could just change the message, or stage more, unstage some, etc.
Is there an easy way to do that in magit?