API: https://developer.github.com/v3/git/commits/#create-a-commit
Constructors
-
New
Commit(String, Create a new commit which does not have any parentsString) -
New
Commit(String, Create a new commit which has multiple parents (i.e. a merge commit)String, IEnumerable<String>) -
New
Commit(String, Create a new commit which has one parentString, String)
Properties
- Author Gets or sets the author of the commit. If omitted, it will be filled in with the authenticated user’s information and the current date.
- Committer Gets or sets the person who applied the commit. If omitted, this will be filled in with the Author.
-
Debugger
Display - Message Gets the commit message.
- Parents Gets the SHAs of the commits that were the parents of this commit. If empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided.
- Tree Gets the tree associated with the commit.