JGithubCommits::create
Method to create a commit.
Signature
public function create(string
$user,
string
$repo,
string
$message,
string
$tree,
array
$parentsĀ )
Parameters
-
$user
- The name of the owner of the GitHub repository.
-
$repo
- The name of the GitHub repository.
-
$message
- The commit message.
-
$tree
- SHA of the tree object this commit points to.
-
$parents
- Array of the SHAs of the commits that were the parents of this commit.