checkoutFiles method
Implementation
Future<void> checkoutFiles(List<String> filePaths) async {
final processed = processRenames(filePaths, includeRenameFrom: false);
await Process.run('git', [
'checkout',
'--force',
'--',
...processed,
]);
}