gitCommit static method
Implementation
static Future<void> gitCommit({
required String message,
bool allowEmpty = false,
}) =>
_runProcess(
'git',
[
'commit',
'-m',
message,
if (allowEmpty) '--allow-empty',
],
workingDirectory: Directory.current.path);