gitShort function

Future<String> gitShort()

Implementation

Future<String> gitShort() async {
  final short = await runExecutableArguments('git', ['rev-parse', '--short', 'HEAD']);
  return short.stdout.toString().replaceAll('\n', '');
}