gitFetchBranch static method
Implementation
static Future<void> gitFetchBranch({String? targetBranch}) async {
var base = targetBranch ?? '';
if (base.isEmpty) {
base = getTargetBranch();
}
await DangerUtils.spawn('git', arguments: ['fetch', 'origin', base]);
}