Removes a file and commit the changes immediately
public removeFile ( string $path, string | null $commitMsg = null, boolean $recursive = false, boolean $force = false, string | null $author = null ) : string | ||
$path | string | The file path |
$commitMsg | string | null | The commit message used when committing the changes |
$recursive | boolean | True to recursively remove subdirectories |
$force | boolean | True to continue even though VCS reports a possible conflict |
$author | string | null | The author |
return | string | The current commit hash |