pullRemote function

Future<bool> pullRemote()

Implementation

Future<bool> pullRemote() async {
  final process = await Process.start("git", ['pull']);
  await stdout.addStream(process.stdout);
  await stderr.addStream(process.stderr);
  await process.exitCode;
  return checkProcessCode(await process.exitCode);
}