merge method
Merges a branch into the current branch.
Implementation
Future<void> merge(
String branch, {
bool noFf = false,
bool squash = false,
String? workDir,
}) async {
final args = <String>['merge'];
if (noFf) args.add('--no-ff');
if (squash) args.add('--squash');
args.add(branch);
await _runGit(args, workDir: workDir ?? defaultWorkDir);
}