Create a commit given one or multiple commit message(s).
Parameters
message: string | string[]
Optionaloptions: { skipHooks: boolean; }
skipHooks: boolean
Returns Promise<void>
Example
awaitcommit("My Commit"); // execute `git commit -m "My Commit"`. awaitcommit(["My Commit", "My Second Commit"]); // execute `git commit -m "My Commit" -m "My Second Commit"`.
Create a commit given one or multiple commit message(s).