Building git commit objects with git hash-object?

How can i manually build git commit objects using git hash-object?
I now it works with blobs, and its documentation says it can build different objects by using -t but how do you build a commit with that?