JGithubRefs::edit
Method to update a reference.
Signature
public function edit(string
$user,
[string
$repo = false,
[string
$ref = false,
[string
$sha = false,
[string
$force = false]]]] )
Parameters
-
$user
- The name of the owner of the GitHub repository.
-
$repo
- The name of the GitHub repository.
-
$ref
- The reference to update.
-
$sha
- The SHA1 value to set the reference to.
-
$force
- Whether the update should be forced. Default to false.