rebase method
Rebases the current branch onto onto.
Implementation
Future<void> rebase(
String onto, {
bool interactive = false,
String? workDir,
}) async {
final args = <String>['rebase'];
if (interactive) args.add('--interactive');
args.add(onto);
await _runGit(args, workDir: workDir ?? defaultWorkDir);
}