commit method
Future<SimpleProcessResult>
commit(
- String message, {
- List<
String> ? options, - bool? skipOnError,
- HandlerFunction? handlerFn,
- bool? showOutput,
inherited
Commits changes in the current working directory with the supplied message where the message can be either a single string or array of strings to be passed as separate arguments (the git command line interface converts these to be separated by double line breaks)
Implementation
@override
T commit(String message,
{List<String>? options,
bool? skipOnError,
HandlerFunction? handlerFn,
bool? showOutput}) =>
runner.run(
args: ['commit', '-m', message, ...?options],
showOutput: showOutput,
handlerFn: handlerFn,
skipOnError: skipOnError);