echo "message" | git commit-tree HEAD^{tree}
This will create an orphaned commit with the tree of HEAD, and output its name (SHA-1) on stdout. Then just reset your branch there.
git reset SHA-1
To do the above in a single step:
git reset $(git commit-tree HEAD^{tree} -m "commit"Initial message"commit.")