How can I generate the patch between HEAD and the staging area (without committing)?
e.g.
echo text > some.file git add some.file git format-patch (what-the-sha?)..HEAD
Do I have to commit then reset?