dropBackupStash method

Future<void> dropBackupStash()

Implementation

Future<void> dropBackupStash() async {
  final index = await stash();
  if (index == null) return;

  await Process.run('git', [
    'stash',
    'drop',
    '$index',
  ]);
}